yarn add @twilio-paste/breadcrumb - or - yarn add @twilio-paste/core
import {Breadcrumb, BreadcrumbItem} from '@twilio-paste/core/breadcrumb';
const BreadcrumbExample: React.FC = () => {
return (
<Breadcrumb>
<BreadcrumbItem href="#">Item One</BreadcrumbItem>
<BreadcrumbItem href="#">Item Two</BreadcrumbItem>
</Breadcrumb>
);
};
element
Overrides the default element name to apply unique styles with the Customization Provider
- Type
any
- Default
'BREADCRUMB'
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.