1.1.0 • Published 3 years ago

@pmwcs/linear-progress v1.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

Linear Progress

Progress and activity indicators are visual indications of an app loading content.

<LinearProgress progress={0.5} />
<LinearProgress progress={0.6} buffer={0.8} />
<LinearProgress />
<LinearProgress progress={0.2} reversed />

LinearProgress

A component to display linear progress.

Props

NameTypeDescription
bufferundefined \| numberA Progress buffer float percentage between 0 and 1.
closedundefined \| false \| trueHides the progress bar. Adding / removing this prop will trigger an animation in or out.
foundationRefReact.Ref<MDCLinearProgressFoundation>Advanced: A reference to the MDCFoundation.
progressundefined \| numberProgress float percentage between 0 and 1.
reversedundefined \| false \| trueProgress goes from right to left.