UNPKG

@mskcc/carbon-react

Version:

Carbon react components for the MSKCC DSM

37 lines (36 loc) 1.27 kB
/** * MSKCC DSM 2021, 2023 */ import PropTypes from 'prop-types'; import { type ComponentProps } from 'react'; interface OrderedListProps extends ComponentProps<'ol'> { nested?: boolean | undefined; native?: boolean | undefined; isExpressive?: boolean | undefined; } declare function OrderedList({ className, nested, native, isExpressive, ...other }: OrderedListProps): JSX.Element; declare namespace OrderedList { var propTypes: { /** * Provide list items to be rendered in the ordered list */ children: PropTypes.Requireable<PropTypes.ReactNodeLike>; /** * Provide an optional className to be applied to the containing <ol> node */ className: PropTypes.Requireable<string>; /** * Specify whether this ordered list expressive or not */ isExpressive: PropTypes.Requireable<boolean>; /** * Specify whether this ordered list should use native list styles instead of custom counter */ native: PropTypes.Requireable<boolean>; /** * Specify whether this ordered list is nested inside of another nested list */ nested: PropTypes.Requireable<boolean>; }; } export default OrderedList;