ReferenceComponentsWorkflow UI
OperationListProps
OperationListProps component contract.
Type
export interface OperationListProps
extends SlottedComponentProps<OperationSlots> {
readonly id?: string;
readonly operations: readonly OperationSnapshot[];
readonly expandable?: boolean;
readonly showDuration?: boolean;
readonly showAttempts?: boolean;
readonly showProgress?: boolean;
readonly now?: number;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
id | string | undefined | No | The id member uses the string | undefined contract. | — |
operations | readonly OperationSnapshot<unknown>[] | Yes | The operations member uses the readonly OperationSnapshot<unknown>[] contract. | OperationSnapshot |
expandable | boolean | undefined | No | The expandable member uses the boolean | undefined contract. | — |
showDuration | boolean | undefined | No | The showDuration member uses the boolean | undefined contract. | — |
showAttempts | boolean | undefined | No | The showAttempts member uses the boolean | undefined contract. | — |
showProgress | boolean | undefined | No | The showProgress member uses the boolean | undefined contract. | — |
now | number | undefined | No | The now member uses the number | undefined contract. | — |
slots | Partial<SlotComponents<{ root: import("ink").BoxProps; item: import("ink").BoxProps; title: import("ink").TextProps; metadata: import("ink").TextProps; }>> | undefined | No | The slots member uses the Partial<SlotComponents<{ root: import("ink").BoxProps; item: import("ink").BoxProps; title: import("ink").TextProps; metadata: import("ink").TextProps; }>> | undefined contract. | BoxProps, SlotComponents, TextProps |
slotProps | Partial<SlotProps<{ root: import("ink").BoxProps; item: import("ink").BoxProps; title: import("ink").TextProps; metadata: import("ink").TextProps; }, object>> | undefined | No | The slotProps member uses the Partial<SlotProps<{ root: import("ink").BoxProps; item: import("ink").BoxProps; title: import("ink").TextProps; metadata: import("ink").TextProps; }, object>> | undefined contract. | BoxProps, SlotProps, TextProps |
unstyled | boolean | undefined | No | The unstyled member uses the boolean | undefined contract. | — |
variant | string | undefined | No | The variant member uses the string | undefined contract. | — |
size | "sm" | "md" | "lg" | undefined | No | The size member uses the "sm" | "md" | "lg" | undefined contract. | — |