silverstripe-framework/admin/client/src/components/Breadcrumb
2016-07-14 17:51:01 +12:00
..
tests Remove redux from breadcrumbs and fix breadcrumbs lazy loading 2016-05-10 15:34:54 +12:00
Breadcrumb.js API Update react sections to use react-router instead of page.js (#5796) 2016-07-14 17:51:01 +12:00
Breadcrumb.scss Vertically centre title only in breadcrumb 2016-05-11 16:32:49 +12:00
README.md Toolbar renaming from north-header and move styles to component 2016-04-26 15:32:10 +12:00

Breadcrumb

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} />
}

...