Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@trendmicro/react-breadcrumbs
Advanced tools
React Breadcrumbs
Demo: https://trendmicro-frontend.github.io/react-breadcrumbs
npm install --save react @trendmicro/react-breadcrumbs
@trendmicro/react-buttons
and its styles in your application as follows:import Breadcrumbs from '@trendmicro/react-breadcrumbs';
// Be sure to include styles at some point, probably during your bootstraping
import '@trendmicro/react-breadcrumbs/dist/react-breadcrumbs.css';
import React, { Component } from 'react';
import Anchor from '@trendmicro/react-anchor';
import Breadcrumbs from '@trendmicro/react-breadcrumbs';
class App extends Component {
render() {
return (
<Breadcrumbs>
<Breadcrumbs.Item>
<Anchor href="#/devices">Devices</Anchor>
</Breadcrumbs.Item>
<Breadcrumbs.Item>
<Anchor href="#/devices/firewall">Firewall</Anchor>
</Breadcrumbs.Item>
<Breadcrumbs.Item active>
Policies
</Breadcrumbs.Item>
</Breadcrumbs>
);
}
}
You can add an icon on the right side, or add a line separator under the breadcrumbs.
<Breadcrumbs showLineSeparator>
<Breadcrumbs.Item>
Devices
</Breadcrumbs.Item>
<Breadcrumbs.Item active>
Firewall
</Breadcrumbs.Item>
<Anchor className="pull-right" href="https://github.com/trendmicro-frontend/react-breadcrumbs">
<i className="fa fa-question-circle" style={{ fontSize: 20 }} />
</Anchor>
</Breadcrumbs>
Name | Type | Default | Description |
---|---|---|---|
showLineSeparator | Boolean | false |
Name | Type | Default | Description |
---|---|---|---|
active | Boolean | false |
MIT
FAQs
Trend Micro Components: React Breadcrumbs
The npm package @trendmicro/react-breadcrumbs receives a total of 288 weekly downloads. As such, @trendmicro/react-breadcrumbs popularity was classified as not popular.
We found that @trendmicro/react-breadcrumbs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.