Socket
Socket
Sign inDemoInstall

@brighthr/component-breadcrumb

Package Overview
Dependencies
3
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @brighthr/component-breadcrumb

To install, type the following into the command line at the root of your project:


Version published
Weekly downloads
323
decreased by-1.52%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Breadcrumb

To install, type the following into the command line at the root of your project:

npm i @brighthr/component-breadcrumb

To implement the Breadcrumb component into your project you’ll need to add the import:

import Breadcrumb from '@brighthr/component-breadcrumb';

After adding import into your project you can use it simply like:

<Breadcrumb />

Props

NameTypeDefaultDescription
currentPagestringSets the text to display what the current page is.
onClickevent => voidFunction for handling onClick event.
routes[{ name: string, href: string, iconName?: string }]An array of objects, each object has a page name, href and iconName.
size'sm' 'base' 'lg' 'xl''base'Sets the size of the breadcrumb.

FAQs

Last updated on 10 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc