0.0.6 ā€¢ Published 6 years ago

larch-input v0.0.6

Weekly downloads
19
License
-
Repository
-
Last release
6 years ago

Larch Input

screenshot

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