Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gov.au/breadcrumbs

Package Overview
Dependencies
Maintainers
5
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gov.au/breadcrumbs

Breadcrumbs help users understand where they are in the service and how they got there.

  • 0.3.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

@gov.au/breadcrumbs

Breadcrumbs help users understand where they are in the service and how they got there.

Contents

  • Install
  • Usage
  • Dependency graph
  • Build
  • Tests
  • Release History
  • License

Install

yarn add @gov.au/breadcrumbs
npm install @gov.au/breadcrumbs --save-dev

⬆ back to top


Usage

⬆ back to top


React

Usage:

import Breadcrumbs from './breadcrumbs.js';

<Breadcrumbs label="Breadcrumb for this page" items={[
	{
		link: 'breadcrumb/one/',
		text: 'breadcrumb 1',
	},
	{
		link: 'breadcrumb/two/',
		text: 'breadcrumb 2',
	},
	{
		text: 'breadcrumb 3',
	},
]} />

All props:

<Breadcrumbs
	label="The aria-label"        {/* Provide the aria label is a must */}
	inverted={ false }            {/* An option to theme the breadcrumbs inverted, optional */}
	items={[                      {/* An array of all breadcrumbs */}
		{
			link: 'breadcrumb/one/',  {/* The link of the breadcrumb, optional */}
			text: 'breadcrumb 1',     {/* The text of the breadcrumb */}
		},
	]},
/>

For more details have a look at the usage example.

⬆ back to top


Dependency graph

breadcrumbs
├─ core
└─ link-list
   ├─ core
   └─ body
      └─ core

⬆ back to top


Build

⬆ back to top


Tests

The visual test: http://uikit.apps.staging.digital.gov.au/packages/breadcrumbs/tests/site/

⬆ back to top


Release History

  • v0.3.1 - Fixed interdependency with link-list
  • v0.3.0 - Fixed react pipeline, background repeat
  • v0.2.0 - Added react component
  • v0.1.0 - 💥 Initial version

⬆ back to top


License

Copyright (c) Commonwealth of Australia. Licensed under MIT.

⬆ back to top

};

Keywords

FAQs

Package last updated on 31 Jul 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc