ndla-button

0.0.3 • Public • Published

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>

Readme

Keywords

Package Sidebar

Install

npm i ndla-button

Weekly Downloads

0

Version

0.0.3

License

GPL-3.0

Unpacked Size

24.7 kB

Total Files

13

Last publish

Collaborators

  • oyvinmar