Skip to main content

DropdownItemProps

@steambrew/client v4.2.1


Interface: DropdownItemProps

Defined in: src/components/Dropdown.ts:47

Extends

Properties

bottomSeparator?

optional bottomSeparator: "standard" | "thick" | "none";

Defined in: src/components/Item.ts:9

Inherited from

ItemProps.bottomSeparator

children?

optional children: ReactNode;

Defined in: src/components/Item.ts:6

Inherited from

ItemProps.children

contextMenuPositionOptions?

optional contextMenuPositionOptions: DropdownMenuPositionOptions;

Defined in: src/components/Dropdown.ts:35

Inherited from

DropdownProps.contextMenuPositionOptions


description?

optional description: ReactNode;

Defined in: src/components/Item.ts:5

Inherited from

ItemProps.description

disabled?

optional disabled: boolean;

Defined in: src/components/Dropdown.ts:31

Inherited from

DropdownProps.disabled


focusable?

optional focusable: boolean;

Defined in: src/components/Dropdown.ts:39

Inherited from

DropdownProps.focusable


highlightOnFocus?

optional highlightOnFocus: boolean;

Defined in: src/components/Item.ts:12

Inherited from

ItemProps.highlightOnFocus

icon?

optional icon: ReactNode;

Defined in: src/components/Item.ts:8

Inherited from

ItemProps.icon

indentLevel?

optional indentLevel: number;

Defined in: src/components/Item.ts:10

Inherited from

ItemProps.indentLevel

label?

optional label: ReactNode;

Defined in: src/components/Item.ts:4

Inherited from

ItemProps.label

layout?

optional layout: "below" | "inline";

Defined in: src/components/Item.ts:7

Inherited from

ItemProps.layout

optional menuLabel: string;

Defined in: src/components/Dropdown.ts:36

Inherited from

DropdownProps.menuLabel


rgOptions

rgOptions: DropdownOption[];

Defined in: src/components/Dropdown.ts:29

Inherited from

DropdownProps.rgOptions


selectedOption

selectedOption: any;

Defined in: src/components/Dropdown.ts:30

Inherited from

DropdownProps.selectedOption


strDefaultLabel?

optional strDefaultLabel: string;

Defined in: src/components/Dropdown.ts:37

Inherited from

DropdownProps.strDefaultLabel


tooltip?

optional tooltip: string;

Defined in: src/components/Item.ts:11

Inherited from

ItemProps.tooltip

Methods

onChange()?

optional onChange(data: SingleDropdownOption): void

Defined in: src/components/Dropdown.ts:34

Parameters

data

SingleDropdownOption

Returns

void

Inherited from

DropdownProps.onChange


onMenuOpened()?

optional onMenuOpened(): void

Defined in: src/components/Dropdown.ts:33

Returns

void

Inherited from

DropdownProps.onMenuOpened


onMenuWillOpen()?

optional onMenuWillOpen(showMenu: () => void): void

Defined in: src/components/Dropdown.ts:32

Parameters

showMenu

() => void

Returns

void

Inherited from

DropdownProps.onMenuWillOpen


renderButtonValue()?

optional renderButtonValue(element: ReactNode): ReactNode

Defined in: src/components/Dropdown.ts:38

Parameters

element

ReactNode

Returns

ReactNode

Inherited from

DropdownProps.renderButtonValue