0.3.0 • Published 5 years ago

@cmds/number-input v0.3.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

NumberInput

npm package

Used for entering numbers.

Getting started

npm install @cmds/number-input --save

Prop Types

PropertyTypeRequired?Description
idStringUnique identifier for the field
classNameStringAdd a className to the input
valueStringNumber to be edited
allowNegativeBooleanAllows the user to enter a negative number. Default: false
formatFormatdecimal or integer. Default: integer
precisionBoolean1, 2, 3, 4, 5, 6, 7, 8. Default: 2
onChangeFunctionTriggers when the value changes: ({id: string, value: string})

More information

This component is designed and developed as part of Cosmos Design System.

0.3.0

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago