2.0.0 • Published 8 years ago

@ubc-farm/react-inputs v2.0.0

Weekly downloads
-
License
-
Repository
-
Last release
8 years ago

@ubc-farm/react-inputs

Various inputs for use inside forms. The API is similar to normal <input /> elements, with value, onChange, and defaultValue props.

Field

A container for inputs that includes a corresponding label. Will auto-generate an ID for the input if no id is specified.

DateInput

A wrapper for <input type="date" /> that uses moment to represent the value instead of a string.

DateTimeInput

A wrapper for <input type="datetime-local" /> that uses moment to represent the value instead of a string.

MoneyInput

An input that translates money values typed by the user into a cents integer value.

2.0.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago