overleaf/services/web/frontend/stories/start-free-trial-button.stories.jsx
ilkin-overleaf 182e9859ec Merge pull request #18690 from overleaf/ii-bs5-projects-welcome
[web] Welcome page migration

GitOrigin-RevId: 2469786372df24d579d1987cf5bb1113450e9d78
2024-06-14 08:04:32 +00:00

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],
}