EditorMeter
Components
EditorMeter()
EditorMeter(
props
,context
?):ReactNode
An EditorMeter component displays a visual indicator that provides instant feedback as the user types. The EditorMeter generally shows the user the character count and how much percentage they have left before they reach the maximum word count allowed.
Parameters
Parameter | Type |
---|---|
props | EditorMeterProps |
context ? | any |
Returns
ReactNode
Example
<EditorMeter value={50} max={100} />
Source
libs/design-system-core/src/components/EditorMeter/index.tsx:26
Props
EditorMeterProps
EditorMeterProps:
object
Type declaration
Member | Type |
---|---|
background | Color |
customStyle | string |
max | number |
value | number |
Source
libs/design-system-core/src/components/EditorMeter/index.tsx:6