2.2.0 • Published 3 years ago

lx-button v2.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

What is this?

A react button component lx theme

Installation

yarn add lx-button

Then....

import Button, { getConfig } from 'lx-button'

//Console log the config model structure.
console.log(getConfig())

const buttonConfig = {
    //add options 
}

//
<Button config={buttonConfig}>Click me</Button>