Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MenuPortalProps<Option, IsMulti, Group>

Type parameters

  • Option

  • IsMulti: boolean

  • Group: GroupBase<Option>

Hierarchy

Index

Properties

appendTo: undefined | HTMLElement
children: ReactNode
className?: string
controlElement: null | HTMLDivElement
cx: CX
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
innerProps: DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>
isMulti: boolean
isRtl: boolean
menuPlacement: MenuPlacement
menuPosition: MenuPosition
options: OptionsOrGroups<Option, Group>
selectProps: <internal>.Props<Option, IsMulti, Group>

Methods

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

Generated using TypeDoc