UNPKG

@openmrs/esm-framework

Version:
92 lines (49 loc) 2.63 kB
[@openmrs/esm-framework](../API.md) / ActionMenuButtonProps # Interface: ActionMenuButtonProps ## Table of contents ### Workspace Properties - [iconDescription](ActionMenuButtonProps.md#icondescription) - [label](ActionMenuButtonProps.md#label) - [tagContent](ActionMenuButtonProps.md#tagcontent) - [type](ActionMenuButtonProps.md#type) ### Workspace Methods - [getIcon](ActionMenuButtonProps.md#geticon) - [handler](ActionMenuButtonProps.md#handler) ## Workspace Properties ### iconDescription • **iconDescription**: `string` #### Defined in [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:32](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx#L32) ___ ### label • **label**: `string` #### Defined in [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:31](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx#L31) ___ ### tagContent`Optional` **tagContent**: `ReactNode` #### Defined in [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:35](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx#L35) ___ ### type • **type**: `string` #### Defined in [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:34](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx#L34) ## Workspace Methods ### getIcon ▸ **getIcon**(`props`): `Element` #### Parameters | Name | Type | | :------ | :------ | | `props` | `object` | #### Returns `Element` #### Defined in [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:30](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx#L30) ___ ### handler ▸ **handler**(): `void` #### Returns `void` #### Defined in [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:33](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx#L33)