Story API Reference
Prop reference
| Title | Type | Default | Description |
|---|---|---|---|
| }* | PropsWithChildren<ListHeaderProps>) => { | โ | - |
| 'dark* | text-foreground-200', | โ | - |
| 'not-first-of-type* | mt-4', | โ | - |
| title* | 'UI/Loader', | โ | - |
| component* | Loader, | โ | - |
| parameters* | { | โ | - |
| layout* | 'centered', | โ | - |
| tags* | ['autodocs'], | โ | - |
| argTypes* | {}, | โ | - |
| args* | {}, | โ | - |
| Story* | StoryObj<typeof meta> export const Default: Story = { args: {}, } export const WithCaption: Story = { args: { caption: 'One sec...', }, } export const Row: Story = { args: { caption: 'One sec...', layout: 'row', }, } export const ShapedVariant: Story = { args: { variant: 'shaped', }, } export const SmallSize: Story = { args: { size: 'small', layout: 'row', variant: 'shaped', caption: 'Connecting to Bulb', }, } export const LargeSize: Story = { args: { size: 'large', variant: 'shaped', caption: 'Connecting to Bulb', }, } export const LargeSizeCssTest: Story = { args: { size: 'large', variant: 'shaped-css', caption: 'Connecting to Bulb', }, } export const Styled: Story = { args: { size: 'large', variant: 'shaped', caption: <TypographyMuted>Connecting</TypographyMuted>, }, } export const Indeterminate: Story = { args: { size: 'large', variant: 'loady-experimental', }, } import React, { cloneElement, CSSProperties, memo, ReactElement } from 'react' import { IconLoader2, IconPentagon, IconSquare, IconTriangle, } from '@tabler/icons-react' import { cn, IconSizes } from '../../lib/utils' import { Size } from '../../lib/types' import './loader-styles.css' // import { LoadyExperimental } from './loady-experimental' | โ | - |
* Props marked with an asterisk are required.
CSS target reference
There are no corresponding CSS targets for this API.
Related APIs