mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 19:53:49 +00:00
31 lines
691 B
React
31 lines
691 B
React
|
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],
|
||
|
}
|