mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
92eade7502
[web] BS5 pdf toolbar GitOrigin-RevId: a04091c9e936e52f47c3977b3149ffe613d43bb9
33 lines
712 B
JavaScript
33 lines
712 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={{
|
|
variant: 'danger',
|
|
size: 'lg',
|
|
}}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export default {
|
|
title: 'Shared / Components / Start Free Trial Button',
|
|
component: StartFreeTrialButton,
|
|
args: {
|
|
source: 'storybook',
|
|
},
|
|
decorators: [ScopeDecorator],
|
|
}
|