yarn add @twilio-paste/description-list - or - yarn add @twilio-paste/core
import {DescriptionList, DescriptionListSet, DescriptionListTerm, DescriptionListDetails} from '@twilio-paste/core/description-list';
const Component = () => (
<DescriptionList>
<DescriptionListSet>
<DescriptionListTerm>Paste</DescriptionList>
<DescriptionListDetails>A design system used to build accessible, cohesive, and high-quality customer experiences at Twilio.</DescriptionListDetails>
</DescriptionListSet>
</DescriptionList>
);
element
Overrides the default element name to apply unique styles with the Customization Provider
- Type
any
- Default
'DESCRIPTION_LIST'
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
element
Overrides the default element name to apply unique styles with the Customization Provider
- Type
any
- Default
'DESCRIPTION_LIST_TERM'
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
element
Overrides the default element name to apply unique styles with the Customization Provider
- Type
any
- Default
'DESCRIPTION_LIST_DETAILS'
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
element
Overrides the default element name to apply unique styles with the Customization Provider
- Type
any
- Default
'DESCRIPTION_LIST_SET'
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.