2022-07-25 08:33:25 -04:00
|
|
|
import StartFreeTrialButton from '../js/shared/components/start-free-trial-button'
|
|
|
|
import { ScopeDecorator } from './decorators/scope'
|
2024-10-10 03:26:18 -04:00
|
|
|
import { bsVersionDecorator } from '../../.storybook/utils/with-bootstrap-switcher'
|
2022-07-25 08:33:25 -04:00
|
|
|
|
|
|
|
export const Default = args => {
|
|
|
|
return <StartFreeTrialButton {...args} />
|
|
|
|
}
|
|
|
|
|
|
|
|
export const CustomText = args => {
|
|
|
|
return (
|
|
|
|
<StartFreeTrialButton {...args}>Some Custom Text!</StartFreeTrialButton>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const ButtonStyle = args => {
|
|
|
|
return (
|
|
|
|
<StartFreeTrialButton
|
|
|
|
{...args}
|
2024-06-13 08:44:38 -04:00
|
|
|
buttonProps={{
|
|
|
|
variant: 'danger',
|
2024-10-08 10:22:13 -04:00
|
|
|
size: 'lg',
|
2024-06-13 08:44:38 -04:00
|
|
|
}}
|
2022-07-25 08:33:25 -04:00
|
|
|
/>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'Shared / Components / Start Free Trial Button',
|
|
|
|
component: StartFreeTrialButton,
|
|
|
|
args: {
|
|
|
|
source: 'storybook',
|
|
|
|
},
|
|
|
|
decorators: [ScopeDecorator],
|
2024-10-10 03:26:18 -04:00
|
|
|
argTypes: {
|
|
|
|
...bsVersionDecorator.argTypes,
|
|
|
|
},
|
2022-07-25 08:33:25 -04:00
|
|
|
}
|