2.0.2 • Published 3 years ago
kodobe-react-breadcrumb v2.0.2
Kodobe React Breadcrumb
This is a simple react breadcrumb package.
Install
npm install kodobe-react-breadcrumb
or
yarn add kodobe-react-breadcrumb
Setup
import Breadcrumb from 'kodobe-react-breadcrumb';
Usage
import Breadcrumb from "kodobe-react-breadcrumb";
function App() {
return (
<div>
<h3>Here is how to use a button</h3>
<Breadcrumb
items={[
{ title: "Home", link: "/" },
{ title: "Link", link: "/link" },
{ title: "Active" },
]}
onNavigate={link => 'route to link'}
/>
</div>
);
}
Options
- items : list of 'item' object
- item : object of the structure:
- title : string
- link : optional navigation link
- style : style object
- className : string
2.0.2
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.1.9
3 years ago
1.1.8
3 years ago
1.1.7
3 years ago
1.1.6
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.2
3 years ago
1.0.3
3 years ago
1.0.1
3 years ago