UNPKG

@mskcc/carbon-react

Version:

Carbon react components for the MSKCC DSM

21 lines (20 loc) 612 B
/** * MSKCC DSM 2021, 2023 */ import PropTypes from 'prop-types'; import { type ComponentProps } from 'react'; type ListItemProps = ComponentProps<'li'>; declare function ListItem({ className, ...other }: ListItemProps): JSX.Element; declare namespace ListItem { var propTypes: { /** * Specify the content for the ListItem */ children: PropTypes.Requireable<PropTypes.ReactNodeLike>; /** * Specify an optional className to apply to the underlying `<li>` node */ className: PropTypes.Requireable<string>; }; } export default ListItem;