0.5.2 • Published 2 years ago

@kite_aerolab/shared v0.5.2

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

@kite_aerolab/shared

Kite styles was made using Stitches. Yo can learn the documentation here.

Install

npm install @kite_aerolab/shared

Usage

import { buttonStyles } from '@kite_aerolab/shared/components'

class Example extends Component {
  render() {
    return <div className={ buttonStyles({variant: 'primary'})} />
  }
}

Scripts

update-icons

Script used to update the icons name array employed to type Icon and Brand component's prop.

npm run update-icons

update-sprite

Script used to update the JS object containing all the <svg></svg> strings used in Icon and Brand component.

npm run update-sprite