Component docs
Loading
import { StatusBar } from "@pixxl-tools/components";
// In Server Components:
import { StatusBar } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
items | readonly ReactNode[] | — | Items to render. |
itemsreadonly ReactNode[]
Items to render.
Other props are passed to the root element (HTMLAttributes<HTMLElement>), including className, style, id and aria-* attributes.
const items = ["100%", "6 elements"];
<StatusBar items={items} />