Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GroupProps<Option, IsMulti, Group>

Type parameters

Hierarchy

Index

Properties

Heading: ComponentType<GroupHeadingProps<Option, IsMulti, Group>>

Component to wrap the label, receives headingProps.

children: ReactNode

The children to be rendered.

className?: string
cx: CX
data: Group

The data of the group.

getStyles: GetStyles<Option, IsMulti, Group>

Get the styles of a particular part of the select. Pass in the name of the property as the first argument, and the current props as the second argument. See the styles object for the properties available.

hasValue: boolean
headingProps: ForwardedHeadingProps<Option, Group>

Props to pass to Heading.

innerProps: DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>

Props to be passed to the group element.

isMulti: boolean
isRtl: boolean
label: ReactNode

Label to be displayed in the heading component.

options: <internal>.Options<Option>
selectProps: <internal>.Props<Option, IsMulti, Group>

Methods

  • clearValue(): void
  • selectOption(newValue: Option): void

Generated using TypeDoc