Skip to components
DEVELOPER REFERENCE · v4.0.0

AiTask API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

AiTask7 props1 callbacks0 methods

Props7

AiTask props
NameTypeDescription
titleRequiredstringHeading or title text used by this component.
statusOptional
AiTaskStatus | undefinedInspect type
Current lifecycle or task status. Expand the union to see its allowed states.
openOptionalboolean | undefinedExpanded or visible state of the surface or disclosure.
defaultOpenOptionalboolean | undefinedInitial expanded state used when open is not controlled.
childrenOptional
ComponentChildrenInspect type
Content rendered inside the component. Supply nodes from the framework adapter you are using.
classNameOptionalstring | undefinedAdditional CSS classes applied to the component root.
translationsOptional
AiUiTranslationsInspect type
Overrides the default UI strings. Supply only the entries you want to translate and retain any placeholders.

Events and callbacks1

AiTask events and callbacks
NameTypeDescription
onOpenChangeOptional
((open: boolean) => void) | undefinedInspect type
Receives the requested expanded state; update open when using controlled state.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.