tuil
ReferenceComponentsTypography and status

DividerProps

DividerProps component contract.

View rawEdit

Type

export interface DividerProps
  extends SlottedComponentProps<{ root: TextProps }> {
  readonly id?: string;
  readonly testId?: string;
  readonly label?: string;
  readonly width?: number;
  readonly orientation?: "horizontal" | "vertical";
  readonly title?: string;
}

Members

MemberTypeRequiredDescriptionRelated types
idstring | undefinedNoThe id member uses the string | undefined contract.
testIdstring | undefinedNoThe testId member uses the string | undefined contract.
labelstring | undefinedNoThe label member uses the string | undefined contract.
widthnumber | undefinedNoThe width member uses the number | undefined contract.
orientation"horizontal" | "vertical" | undefinedNoThe orientation member uses the "horizontal" | "vertical" | undefined contract.
titlestring | undefinedNoThe title member uses the string | undefined contract.
slotsPartial<SlotComponents<&#123; root: import("../../../registry/data-display/text").TextProps; &#125;>> | undefinedNoThe slots member uses the Partial<SlotComponents<&#123; root: import("../../../registry/data-display/text").TextProps; &#125;>> | undefined contract.SlotComponents, TextProps
slotPropsPartial<SlotProps<&#123; root: import("../../../registry/data-display/text").TextProps; &#125;, object>> | undefinedNoThe slotProps member uses the Partial<SlotProps<&#123; root: import("../../../registry/data-display/text").TextProps; &#125;, object>> | undefined contract.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