import ProportionBar from "../../app/components/progress/ProportionBar"; export default { title: "Components/Progress/ProportionBar", component: ProportionBar, parameters: { layout: "centered", docs: { description: { component: "Proportion bar component for showing completion percentage. Displays a 3-segment proportion bar with support for partial fills.", }, }, }, argTypes: { progress: { control: { type: "select" }, options: [ "1-0", "1-1", "1-2", "1-3", "1-4", "1-5", "2-0", "2-1", "2-2", "3-0", "3-1", "3-2", ], description: "Proportion state (format: segments-partial)", }, }, tags: ["autodocs"], }; export const Default = { args: { progress: "3-2", }, render: (args) => (
), }; export const AllStates = { args: {}, render: (_args) => (
), parameters: { docs: { description: { story: "Different proportion states of the proportion bar component.", }, }, }, };