Skip to content

Latest commit

 

History

History
executable file
·
20 lines (15 loc) · 509 Bytes

breadcrumbs-usage.md

File metadata and controls

executable file
·
20 lines (15 loc) · 509 Bytes

Home / Breadcrumbs

Breadcrumbs

This widget provides breadcrumb styling for its <a/> children. Breadcrumbs is intrinsically a div element and accepts all of its attributes.

Usage

import { Link } from "react-router-dom";
import { Breadcrumbs } from "react-simple-widgets";

<Breadcrumbs>
    <Link to="">Home</Link>
    <Link to="">Page 1</Link>
    <Link to="">Path 1</Link>
    <Link to="">Sub-path 1</Link>
    <Link to="">Sub-sub-path 1</Link>
</Breadcrumbs>