tuil
ReferenceComponentsWorkflow UI

OperationListProps

OperationListProps component contract.

View rawEdit

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

MemberTypeRequiredDescriptionRelated types
idstring | undefinedNoThe id member uses the string | undefined contract.
operationsreadonly OperationSnapshot<unknown>[]YesThe operations member uses the readonly OperationSnapshot<unknown>[] contract.OperationSnapshot
expandableboolean | undefinedNoThe expandable member uses the boolean | undefined contract.
showDurationboolean | undefinedNoThe showDuration member uses the boolean | undefined contract.
showAttemptsboolean | undefinedNoThe showAttempts member uses the boolean | undefined contract.
showProgressboolean | undefinedNoThe showProgress member uses the boolean | undefined contract.
nownumber | undefinedNoThe now member uses the number | undefined contract.
slotsPartial<SlotComponents<&#123; root: import("ink").BoxProps; item: import("ink").BoxProps; title: import("ink").TextProps; metadata: import("ink").TextProps; &#125;>> | undefinedNoThe slots member uses the Partial<SlotComponents<&#123; root: import("ink").BoxProps; item: import("ink").BoxProps; title: import("ink").TextProps; metadata: import("ink").TextProps; &#125;>> | undefined contract.BoxProps, SlotComponents, TextProps
slotPropsPartial<SlotProps<&#123; root: import("ink").BoxProps; item: import("ink").BoxProps; title: import("ink").TextProps; metadata: import("ink").TextProps; &#125;, object>> | undefinedNoThe slotProps member uses the Partial<SlotProps<&#123; root: import("ink").BoxProps; item: import("ink").BoxProps; title: import("ink").TextProps; metadata: import("ink").TextProps; &#125;, object>> | undefined contract.BoxProps, SlotProps, TextProps
unstyledboolean | undefinedNoThe unstyled member uses the boolean | undefined contract.
variantstring | undefinedNoThe variant member uses the string | undefined contract.
size"sm" | "md" | "lg" | undefinedNoThe size member uses the "sm" | "md" | "lg" | undefined contract.

Source

View the secondary source reference

On this page