import type { Meta, StoryObj } from '@storybook/angular';
import { UploadProgressBarComponent } from './upload-progress-bar.component';

const meta: Meta<UploadProgressBarComponent> = {
  title: 'Atoms/UploadProgressBar',
  component: UploadProgressBarComponent,
  render: (args) => ({
    props: args,
    template: `<app-upload-progress-bar [progressPct]="progressPct" />`,
  }),
};
export default meta;
type Story = StoryObj<UploadProgressBarComponent>;

export const Halfway: Story = { args: { progressPct: 45 } };
export const Almost: Story = { args: { progressPct: 92 } };
