Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
A counter indicate a running tally.
import { Counter } from "@sharegate/orbit-ui";
A default counter.
A counter can be rendered as a divider.
A counter value can be highlighted.
A counter can pushed itself away from content.
import { Counter } from "@sharegate/orbit-ui";
Name | Description | Default |
---|---|---|
children* | React children. string | number | false | true | ReactElement<any, string | JSXElementConstructor<any>> | ReactFragment | ReactPortal | - |
disabled | Whether or not the counter is disabled. falsetrue | - |
highlight | Whether or not to add emphasis to the counter. falsetrue | - |
pushed | Whether or not the counter push itself away from the leading sibling element. falsetrue | - |
reverse | Whether or not to reverse counter elements order. falsetrue | - |
size | A counter can vary in size. "xs" | "sm" | "md" | "lg" | "xl" | "inherit" | "2xl" | "3xl" | "4xl" | "5xl" | ResponsiveValue<"xs" | "sm" | "md" | "lg" | "xl" | "inherit" | "2xl" | "3xl" | "4xl" | "5xl"> | - |
slot | Slot to render into. string | - |
variant | The style to use. "basic""divider" | - |