@itwin/itwinui-react
Version:
A react component library for iTwinUI
22 lines (21 loc) • 608 B
TypeScript
/**
* Component that allows to have any additional content inside `Menu`.
* @example
* <Menu>
* {(close) => [
* <MenuExtraContent key={0}>
* <>
* <Text variant='leading'>Terry Rivers</Text>
* terry.rivers@email.com
* </Text>
* <Select options={someOptions} />
* </>
* </MenuExtraContent>,
* <MenuDivider key={1} />,
* <MenuItem key={2} onClick={() => {}}>
* Sign out
* </MenuItem>,
* ]}
* </Menu>
*/
export declare const MenuExtraContent: import("../../utils/props.js").PolymorphicForwardRefComponent<"div", {}>;