@netdata/netdata-ui
Version:
netdata UI kit
36 lines (30 loc) • 681 B
Markdown
is used to visualise the progress of one ore more than one elements as bar style.
```typescript
interface ProgressBarProps {
background?: string
className?: string
color?: string
"data-testid"?: string
containerWidth?: string
height?: number
value?: Value[]
width?: string
[ ]: any
}
```
```JSX
export const ProgressBars = () => (
<div>
<ProgressBar width="40%" />
<ProgressBar
value={[
{ color: ["blue", "indigo"], width: "30%" },
{ color: ["green", "limeGreen"], width: "60%" },
]}
/>
</div>
)
```
The progress bar component