0.1.4 • Published 3 years ago

react-simple-material-input v0.1.4

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
3 years ago

React Simple Input

Overview

Simple textInput element styled like material-ui.

No other dependencies but React.

normal

error

Example

import ReactSimpleInput from "react-simple-material-input";
...

<ReactSimpleInput
	placeholder="Label"
	error={error}
	errorColor="#e81e25"
>

Props

NameTypeDescriptionRequiredDefault
placeholderstringText used for label and placeholderfalse""
errorstringError Messagefalse""
errorColorstringText color for Error Messagefalse"#e81e25"

And take all other attributes in React.InputHtmlAttributes

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago