silverstripe-framework/admin/client/src/components/breadcrumb
2016-04-21 11:03:45 +12:00
..
tests API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
index.js improved consistency of toolbars included in preview and other areas of cms 2016-04-21 11:03:45 +12:00
README.md API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
styles.scss improved consistency of toolbars included in preview and other areas of cms 2016-04-21 11:03:45 +12:00

#NorthHeaderBreadcrumbs

The breadcrumbs for the current section of the CMS.

Props

Crumbs (array)

An array of objects, each object should have a text and href key.

let breadcrumbs = [
    {
        text: 'Pages',
        href: 'admin/pages'
    },
    {
        text: 'About us',
        href: 'admin/pages/show/2'
    }
];
<BreadcrumbComponent crumbs={breadcrumbs} />
}

...