0.7.0 • Published 5 years ago

@pndr/number-input v0.7.0

Weekly downloads
15
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.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago