0.0.3 • Published 6 years ago

ndla-button v0.0.3

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
6 years ago

ndla-button

Button component.

Installation

$ yarn add --save ndla-button
$ npm install ndla-button --save

Usage

Styling

/* Your project's main .scss import file */
@import '~ndla-button/scss/button'; // with webpack and sass-loader
@import '../path/to/node_modules/ndla-button/scss/button'; // direct reference

Basic example

import Button from 'ndla-button'

<Button onClick={() => alert('Hello worls')}>Click me!</Button>
0.0.3

6 years ago

0.0.2

6 years ago

0.0.2-2

6 years ago

0.0.2-1

6 years ago

0.0.2-0

6 years ago