@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
22 lines (21 loc) • 746 B
TypeScript
/**
* MSKCC DSM 2021, 2023
*/
import React, { ForwardedRef } from 'react';
import { ForwardRefReturn, ReactAttr } from '../../types/common';
export interface ListBoxMenuItemProps extends ReactAttr<HTMLDivElement> {
/**
* Specify whether the current menu item is "active".
*/
isActive?: boolean;
/**
* Specify whether the current menu item is "highlighted".
*/
isHighlighted?: boolean;
}
export type ListBoxMenuItemForwardedRef = (ForwardedRef<HTMLDivElement> & {
menuItemOptionRef?: React.Ref<HTMLDivElement>;
}) | null;
export type ListBoxMenuItemComponent = ForwardRefReturn<ListBoxMenuItemForwardedRef, ListBoxMenuItemProps>;
declare const _default: ListBoxMenuItemComponent;
export default _default;