Interface MenuPortalProps<Option, IsMulti, Group>

Type Parameters

  • Option

  • IsMulti extends boolean

  • Group extends GroupBase<Option>

Hierarchy

Properties

appendTo: undefined | HTMLElement
children: ReactNode
className?: string
clearValue: (() => void)

Type declaration

    • (): void
    • Returns void

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.

getValue: (() => <internal>.Options<Option>)

Type declaration

hasValue: boolean
innerProps: DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>
isMulti: boolean
isRtl: boolean
menuPlacement: MenuPlacement
menuPosition: MenuPosition
options: OptionsOrGroups<Option, Group>
selectOption: ((newValue: Option) => void)

Type declaration

    • (newValue: Option): void
    • Parameters

      • newValue: Option

      Returns void

selectProps: <internal>.Props<Option, IsMulti, Group>
setValue: ((newValue: OnChangeValue<Option, IsMulti>, action: SetValueAction, option?: Option) => void)

Type declaration

Generated using TypeDoc