0.1.0 • Published 2 years ago
@logo-rn/logo-bread-crumb v0.1.0
@logo-rn/logo-bread-crumb
consist of a list of links that help a user visualize a page's location within the hierarchical structure of the app, and allow navigation up to any of its 'ancestors'.
Installation
Install the component:
npm i @logo-rn/logo-bread-crumb -s
Usage
Once installed, import the component in your application:
import {LogoBreadCrumb} from '@logo-rn/logo-bread-crumb';
import { useNavigationState } from '@react-navigation/native';
const routes = useNavigationState(state => state.routes);
<LogoBreadCrumb
routes={routes} />