React Breadcrumb Component
react-breadcrumb
=========================
npm i @9softstudio/react-breadcrumb
`
Usage
`javascript
import { Breadcrumb } from '@9softstudio/react-breadcrumb'
export default class App extends Component {
constructor(props) {
super(props);
this.state = {
level: 3
};
}
render() {
const items = [];
items.push({ label: "Level 1", value: 1, });
items.push({ label: "Level 2", value: 2, });
items.push({ label: "Level 3", value: 3, });
return (
this.setState({level: item.value})}/>
Level : {this.state.level}
)
}
}
``