overleaf/services/web/frontend/stories/start-free-trial-button.stories.js
Alexandre Bourdin 4f340b0ed7 Merge pull request #8894 from overleaf/ab-cleanup-start-free-trial-button
[web] Cleanup StartFreeTrialButton component

GitOrigin-RevId: 67538882ff5a3389d2134ec6e4833431aa43f8e6
2022-07-26 08:04:21 +00:00

30 lines
691 B
JavaScript

import StartFreeTrialButton from '../js/shared/components/start-free-trial-button'
import { ScopeDecorator } from './decorators/scope'
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}
buttonProps={{ bsStyle: 'danger', bsSize: 'lg' }}
/>
)
}
export default {
title: 'Shared / Components / Start Free Trial Button',
component: StartFreeTrialButton,
args: {
source: 'storybook',
},
decorators: [ScopeDecorator],
}