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

@govuk-frederic/counter-bar

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-frederic/counter-bar - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "@govuk-frederic/counter-bar",
"version": "0.0.3",
"version": "0.0.4",
"dependencies": {

@@ -5,0 +5,0 @@ "@govuk-frederic/result-count-title": "^0.0.3",

@@ -178,19 +178,3 @@ CounterBar

```
Use an active Link component for a counter
```jsx
import { HashRouter, Link } from 'react-router-dom';
<HashRouter>
<CounterBar>
<CounterBar.Total score={15}>All counters</CounterBar.Total>
<CounterBar.Counters>
<CounterBar.Counter score={1} component={Link} to="/courses/1/" active>Counter *1</CounterBar.Counter>
<CounterBar.Counter score={2}>Counter 2</CounterBar.Counter>
<CounterBar.Counter score={3}>Counter 3</CounterBar.Counter>
<CounterBar.Counter score={4}>Counter 4</CounterBar.Counter>
<CounterBar.Counter score={5}>Counter 5</CounterBar.Counter>
</CounterBar.Counters>
</CounterBar>
</HashRouter>
### Properties

@@ -197,0 +181,0 @@ Prop | Required | Default | Type | Description

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