0.1.5 • Published 7 years ago

chimeraprime-sharco v0.1.5

Weekly downloads
12
License
-
Repository
-
Last release
7 years ago

Chimera Prime Shared Components

This project contains set of components which can be reusable in many React applications.

Install

npm install --save-dev chimeraprime-sharco

Available components

Project contains the following components:


FormattedInput

Shows an input with number formatting

ParameterTypeDescription
valuenumbervalue of the input
numeralDecimalMarkstringdecimal separator sign, default: '.'
stripLeadingZeroesbooleandecimal separator sign, default: 'true'
numeralPositiveOnlybooleandecimal separator sign, default: 'true'
delimiterstringthousands delimiter sign, default: ''
classNamestringadditional class name of input field
onChangefunctionfunction which handles input changes

PasswordWithPreview

Shows password field with possibility to show password

ParameterTypeDescription
valuenumbervalue of the input
classNamestringadditional class name of input field
ccontainerClassNamestringadditional class name of container
onChangefunctionfunction which handles input changes
iconComponentstringcomponent with preview icon; if not provided - standard css eye icon will be used