@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
32 lines (31 loc) • 1.05 kB
TypeScript
/**
* MSKCC DSM 2021, 2023
*/
import PropTypes from 'prop-types';
import { type ComponentProps } from 'react';
interface UnorderedListProps extends ComponentProps<'ul'> {
nested?: boolean | undefined;
isExpressive?: boolean | undefined;
}
declare function UnorderedList({ className, nested, isExpressive, ...other }: UnorderedListProps): JSX.Element;
declare namespace UnorderedList {
var propTypes: {
/**
* Specify a collection of ListItem's to be rendered in the UnorderedList
*/
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
/**
* Specify an optional className to be applied to the underlying `<ul>` node
*/
className: PropTypes.Requireable<string>;
/**
* Specify whether this ordered list expressive or not
*/
isExpressive: PropTypes.Requireable<boolean>;
/**
* Specify whether the list is nested, or not
*/
nested: PropTypes.Requireable<boolean>;
};
}
export default UnorderedList;