larch-input
v0.0.6
Published
Put a description here
Downloads
7
Readme
Larch Input
TLDR / What is it?
Styled input
How Do I use it?
Install
➜ yesmate git:(dev) npm i larch-input
Import
Import into your main react component
import Input from 'larch-input';
Include
Include in your react component and pass it the colours you want for it
render (){
const scheme = {
bg: 'pink',
fg: '#322F7C'
}
return(
<div className={styles.centering}>
<Input scheme={scheme}/>
</div>
)
}
See example app
[email protected]:cerico/larch-input.git
cd larch-input/example
npm install
npm run dev