Queue
Server ComponentPending messages and todos waiting to run.
Import
import { Queue } from "@cronus-ui/ui";
npx cronus-ui add queue
Examples
API Reference
Generated from the component's exported types.
QueueItemProps
Extends LiHTMLAttributes<HTMLLIElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLLIElement> | — | Ref forwarded to the underlying DOM node. |
QueueItemIndicatorProps
Extends HTMLAttributes<HTMLSpanElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLSpanElement> | — | Ref forwarded to the underlying DOM node. |
completed | boolean | false | — |
QueueItemContentProps
Extends HTMLAttributes<HTMLSpanElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLSpanElement> | — | Ref forwarded to the underlying DOM node. |
completed | boolean | false | — |
QueueItemDescriptionProps
Extends HTMLAttributes<HTMLDivElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLDivElement> | — | Ref forwarded to the underlying DOM node. |
completed | boolean | false | — |
QueueItemActionsProps
Extends HTMLAttributes<HTMLDivElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLDivElement> | — | Ref forwarded to the underlying DOM node. |
QueueItemActionProps
Extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size">
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLButtonElement> | — | Ref forwarded to the underlying DOM node. |
QueueItemAttachmentProps
Extends HTMLAttributes<HTMLDivElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLDivElement> | — | Ref forwarded to the underlying DOM node. |
QueueItemImageProps
Extends ImgHTMLAttributes<HTMLImageElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLImageElement> | — | Ref forwarded to the underlying DOM node. |
QueueItemFileProps
Extends HTMLAttributes<HTMLSpanElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLSpanElement> | — | Ref forwarded to the underlying DOM node. |
QueueListProps
Extends HTMLAttributes<HTMLDivElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLDivElement> | — | Ref forwarded to the underlying DOM node. |
QueueSectionProps
Extends ComponentProps<typeof Collapsible>
| Prop | Type | Default | Description |
|---|---|---|---|
defaultExpanded | boolean | true | Taki alias for `defaultOpen`. |
QueueSectionTriggerProps
Extends ComponentProps<typeof CollapsibleTrigger>
No own props — see the extended type above for available props.
QueueSectionLabelProps
Extends HTMLAttributes<HTMLSpanElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLSpanElement> | — | Ref forwarded to the underlying DOM node. |
count | number | — | — |
label* | string | — | — |
icon | ReactNode | — | — |
QueueSectionContentProps
Extends ComponentProps<typeof CollapsibleContent>
No own props — see the extended type above for available props.
QueueProps
Extends HTMLAttributes<HTMLDivElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLDivElement> | — | Ref forwarded to the underlying DOM node. |