Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Latest commit

 

History

History
21 lines (16 loc) · 286 Bytes

ProgressBar.md

File metadata and controls

21 lines (16 loc) · 286 Bytes

ProgressBar

import {ProgressBar} from 'rea11y';

<ProgressBar
    min={0}
    max={100}
    value={42} // required
/>

With a custom text:

function makeText({value, max}) {
	return `${value}/${max}`;
}

<ProgressBar max={100} value={42} makeText={makeText} />