@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
20 lines (19 loc) • 640 B
TypeScript
/**
* MSKCC DSM 2021, 2023
*/
import { ForwardRefReturn, ReactAttr } from '../../types/common';
type ExcludedAttributes = 'id';
export interface ListBoxMenuProps extends Omit<ReactAttr<HTMLDivElement>, ExcludedAttributes> {
/**
* Specify a custom `id`
*/
id: string;
}
export type ListBoxMenuComponent = ForwardRefReturn<HTMLDivElement, ListBoxMenuProps>;
/**
* `ListBoxMenu` is a simple container node that isolates the `list-box__menu`
* class into a single component. It is also being used to validate given
* `children` components.
*/
declare const ListBoxMenu: ListBoxMenuComponent;
export default ListBoxMenu;