0.0.6 ā¢ Published 6 years ago
larch-input v0.0.6
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
git@github.com:cerico/larch-input.git
cd larch-input/example
npm install
npm run dev