OrderedList

Use the OrderedList component to render a list of ordered items.
  • Experimental
  • Not reviewed for accessibility
import {OrderedList} from '@primer/react-brand'

Examples

Default

Component props

OrderedList

NameTypeDefaultDescription
classNamestringSets a custom class on the root element
childrenReact.ReactNode, React.ReactNode[]defaultContent to be displayed within the OrderedList component

OrderedList.Item

NameTypeDefaultDescription
classNamestringSets a custom class on the root element
childrenReact.ReactNode, React.ReactNode[]defaultContent to be displayed within the OrderedList component