yarn add @twilio-paste/card - or - yarn add @twilio-paste/core
import {Card} from '@twilio-paste/core/card';
const Card = () => <Card>Hello world</Card>;
element
Overrides the default element name to apply unique styles with the Customization Provider
- Type
any
- Default
'CARD'
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.