Skip to main content

Progress Bar

v.5.0.1

Installation

yarn add @mercell/progress-bar-react

Usage

Using the Progress Bar component is as simple as importing it like this.

import ProgressBar from '@mercell/progress-bar-react';
Live Editor
Result

Types, definitions, etc.

ProgressBarProps
interface ProgressBarProps {
current: string;
currentKey?: 'to' | 'href' | 'id';
} & JSX.IntrinsicElements['nav']
NameTypeDefaultRequiredDescription
currentstring-yesThe current step in the progress
currentKey'to' | 'href' | 'id'-noSelect type of key for current