Meter
Components
Meter()
Meter(
props
,context
?):ReactNode
A Meter component enables you to include a meter in the shape of a bar or circle in your app quickly.
Parameters
Parameter | Type |
---|---|
props | MeterProps |
context ? | any |
Returns
ReactNode
Example
<Meter size={400} thickness={5} value={60} type="bar" />
Source
libs/design-system-core/src/components/Meter/index.tsx:38
Props
MeterProps
MeterProps:
PropsWithChildren
<object
>
Type declaration
Member | Type |
---|---|
background | Color |
customStyle | string |
direction | "horizontal" | "vertical" |
max | number |
progressBg | Color |
size | number |
thickness | number |
type | "circle" | "bar" |
value | number |