npm.io
4.5.3 • Published 9 months ago

@hawk-ui/breadcrumb

Licence
MIT
Version
4.5.3
Deps
3
Size
24 kB
Vulns
0
Weekly
0

Installation

To install a component run

$ npm install @hawk-ui/breadcrumb --save

Please import CSS styles via
@import '/path__to__node_modules/@hawk-ui/breadcrumb/dist/index.min.css

Usage

Breadcrumb:

Demo

import Breadcrumb from '@hawk-ui/breadcrumb';
initialState = {
  navbar: [
    { key: 1, label: 'home', link: '#', active: false },
  ],
};
<Breadcrumb
  panes={state.navbar}
/>
Breadcrumb:

Demo

import Breadcrumb from '@hawk-ui/breadcrumb';
initialState = {
  navbar: [
    { key: 1, label: 'home', link: '#', active: true },
    { key: 1, label: 'library', link: '#', active: false },
  ],
};
<Breadcrumb
  panes={state.navbar}
/>
Breadcrumb:

Demo

import Breadcrumb from '@hawk-ui/breadcrumb';
initialState = {
  navbar: [
    { key: 1, label: 'home', link: '#', active: true },
    { key: 1, label: 'library', link: '#', active: true },
    { key: 1, label: 'data', link: '#', active: false },
  ],
};
<Breadcrumb
  panes={state.navbar}
/>

Keywords