Data & Status
Rolling Number Counter
소수점 자리까지 지원하며 숫자가 굴러가듯 바뀌는 카운터입니다.
Preview
data structure
Rolling Number Counter
increment decimal values
Installation
bash
Copied
bash
Copied
bash
Copied
bash
Copied
Code
typescript
Copied
Props
value
- Type
- number
- Default
- -
- Description
- Target number.
fontSize
- Type
- number
- Default
- 100
- Description
- Digit font size.
places
- Type
- PlaceValue[]
- Default
- auto from value
- Description
- Displayed integer and decimal places.
gap
- Type
- number
- Default
- 8
- Description
- Gap between digit columns.
textColor
- Type
- string
- Default
- "inherit"
- Description
- Digit text color.
fontWeight
- Type
- React.CSSProperties["fontWeight"]
- Default
- "inherit"
- Description
- Digit weight.