import { Meta, StoryObj } from '@storybook/react-webpack5'; import ProgressBar from './ProgressBar'; import Info from '../info'; export default { component: ProgressBar, title: 'Content/ProgressBar', } satisfies Meta; type Story = StoryObj; export const Basic: Story = { args: { description: 'You have 3 days to reach your goal.', id: 'progress-bar-id', title: 'Send 5,550 GBP', progress: { value: 50, max: 100 }, textEnd: '200 GBP to go', }, }; export const WithInfoTooltip: Story = { args: { description: 1,000 GBP, id: 'progress-bar-id', title: ( Total limit ), progress: { value: 800, max: 1000 }, textEnd: 200 GBP remaining, }, };