import { OcBaseProps } from '../OcBase'; import { ButtonProps } from '../Button'; import { ConfigContextProps, OcThemeName } from '../ConfigProvider'; import { ReactNode } from 'react'; import { DropdownProps } from '../Dropdown'; import { PanelProps } from '../Panel'; export interface LiveTaskBarProps extends OcBaseProps { /** * Custom header component (optional) * If not provided, no header will be shown */ header?: ReactNode; /** * Array of task components to display in the task bar * If not provided, no tasks will be shown */ tasks?: ReactNode[]; /** * Panel props to be passed to the Panel component */ panel?: Omit; /** * Button props for the panel trigger button * This button will toggle the panel's visibility */ panelButton?: Partial; /** * Dropdown props to be passed to the Dropdown component */ dropdown?: Omit; /** * Button props for the dropdown trigger button * This button will toggle the dropdown's visibility */ dropdownButton?: Partial; /** * Configure how contextual props are consumed */ configContextProps?: ConfigContextProps; /** * Theme of the LiveTaskBar * @default 'default' */ theme?: OcThemeName | 'aiAgent'; }