overleaf-server-arm/services/web/frontend/stories/upgrade-prompt.stories.tsx
2025-04-24 13:11:28 +08:00

20 lines
519 B
TypeScript

import { UpgradePrompt } from '@/shared/components/upgrade-prompt'
import { StoryObj } from '@storybook/react/*'
type Story = StoryObj<typeof UpgradePrompt>
export const Generic: Story = {
args: {
title: 'Unlock more compile time',
summary: 'Your project took too long to compile and timed out.',
onClose: () => {},
planPricing: { student: '$9', standard: '$21' },
itmCampaign: 'storybook',
},
}
export default {
title: 'Shared / Components / Upgrade Prompt',
component: UpgradePrompt,
}