Task
Server ComponentCollapsible checklist of agent work.
Import
tsx
import { Task } from "@cronus-ui/ui";
bash
npx cronus-ui add task
Examples
API Reference
Generated from the component's exported types.
TaskItemFileProps
Extends HTMLAttributes<HTMLDivElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLDivElement> | — | Ref forwarded to the underlying DOM node. |
TaskItemProps
Extends HTMLAttributes<HTMLDivElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLDivElement> | — | Ref forwarded to the underlying DOM node. |
TaskProps
Extends ComponentProps<typeof Collapsible>
No own props — see the extended type above for available props.
TaskTriggerProps
Extends ComponentProps<typeof CollapsibleTrigger>
| Prop | Type | Default | Description |
|---|---|---|---|
title* | string | — | — |
icon | LucideIcon | — | — |
TaskContentProps
Extends ComponentProps<typeof CollapsibleContent>
No own props — see the extended type above for available props.