Counter label
Counter label is a button with a numbered label accompanied by text.
On this page
On this page
Import
import {CounterLabel} from '@primer/react'
Examples
Props
CounterLabel
Name | Default | Description |
---|---|---|
scheme | 'primary' | 'secondary' Pass in 'primary' for a darker background and inverse text, or 'secondary' for a lighter background and primary text. Omitting the scheme prop renders the default counter scheme |