UNPKG

@wonderflow/react-components

Version:

UI components from Wonderflow's Wanda design system

28 lines (27 loc) 703 B
import { jsx as _jsx } from "react/jsx-runtime"; import { LinearProgress } from './linear-progress'; const story = { title: 'Loading/Linear progress', component: LinearProgress, args: { max: 100, showProgress: true, dimension: 'regular', }, argTypes: { value: { control: { type: 'range' }, }, dimension: { options: ['regular', 'big'], control: { type: 'radio' }, }, }, }; export default story; const Template = args => _jsx(LinearProgress, { ...args }); export const Determinate = Template.bind({}); Determinate.args = { value: 40, }; export const Indeterminate = Template.bind({});