Last modified: 4/Oct/2024
Counter
Determinate indicators display how long a process will take. They should be used when the process completion rate can be detected.
#Usage
import { Counter } from '@kinsta/stratus'
const MyComponent = () => (
<Counter currentValue={30} minValue={0} maxValue={100} />
)
#Props
#label
string | number | ReactElement<any, string | JSXElementConstructor<any>>
The text above the counter
The min value of the counter
The max value of the counter
The current value of the counter
#Types
CounterProps
: props of theCounter
component processed by stratus
Read more about types here