1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00
Files
browser/libs/components/src/progress/progress.stories.ts
Danielle Flinn 23227f5064 [CL-256] Update Figma links in Storybook docs (#12901)
* Update Figma links

updated existing Figma links to point to the new file and added Figma links to components missing them

* Added last missing Figma links
2025-01-17 07:50:20 -08:00

41 lines
761 B
TypeScript

import { Meta, StoryObj } from "@storybook/angular";
import { ProgressComponent } from "./progress.component";
export default {
title: "Component Library/Progress",
component: ProgressComponent,
parameters: {
design: {
type: "figma",
url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-40933&t=b5tDKylm5sWm2yKo-4",
},
},
args: {
showText: true,
size: "default",
bgColor: "primary",
},
} as Meta;
type Story = StoryObj<ProgressComponent>;
export const Empty: Story = {
args: {
barWidth: 0,
},
};
export const Full: Story = {
args: {
barWidth: 100,
},
};
export const CustomText: Story = {
args: {
barWidth: 25,
text: "Loading...",
},
};