@ptadmin/pbs-breadcrumbs
v0.0.7
Published
Breadcrumbs component
Downloads
4
Keywords
Readme
Login
Breadcrumbs is a generic component that displays a list of links that represent the selected item's ancestry.
Usage
import Breadcrumbs from '@ptadmin/pbs-login-page';
<Breadcrumbs ancestry=[{...},{...},{...},] />
Props
ancestry (array): an array of objects ordered by ancestry level ( the top parent should be the first index and so on). Each object is expected to contain an id(int), a name(string) and a type(string).