mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 06:45:21 -05:00
182e9859ec
[web] Welcome page migration GitOrigin-RevId: 2469786372df24d579d1987cf5bb1113450e9d78
33 lines
715 B
JavaScript
33 lines
715 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: 'large',
|
|
}}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export default {
|
|
title: 'Shared / Components / Start Free Trial Button',
|
|
component: StartFreeTrialButton,
|
|
args: {
|
|
source: 'storybook',
|
|
},
|
|
decorators: [ScopeDecorator],
|
|
}
|