LCAP-UI LinearProgress component
npm install @lcap-ui/linear-progressProgress and activity indicators are visual indications of an app loading content.
- Module @lcap-ui/linear-progress
- Import styles:
- Using CSS Loader
- import '@lcap-ui/linear-progress/styles';
- Or include stylesheets
- '@material/linear-progress/dist/mdc.linear-progress.css'
- MDC Docs: https://material.io/develop/web/components/linear-progress/
``jsx`
`jsx`
`jsx`
`jsx`
A component to display linear progress.
| Name | Type | Description |
|------|------|-------------|
| buffer | undefined \| number | A Progress buffer float percentage between 0 and 1. |closed
| | undefined \| false \| true | Hides the progress bar. Adding / removing this prop will trigger an animation in or out. |foundationRef
| | React.Ref | Advanced: A reference to the MDCFoundation. |progress
| | undefined \| number | Progress float percentage between 0 and 1. |reversed
| | undefined \| false \| true` | Progress goes from right to left. |