Bulleted List

Bulleted list are used to display text items in a bulleted format.

Props

DxcBulletedList

NameTypeDescriptionDefault
type'disc' | 'circle' | 'square' | 'number' | 'icon'Defines the style of the bullet point in the list.'disc'
iconstring | (React.ReactNode & React.SVGProps<SVGSVGElement>)Icon to be displayed as the bullet.-

DxcBulletedList.Item

Everything between the tags will be displayed as a text item in the list.

Props

NameTypeDescriptionDefault
childrenReact.ReactNodeText to be shown in the list.-

Examples

Basic usage

Nested list