react-leonardo-ui

0.17.0 • Public • Published

react-leonardo-ui

React implementation of Leonardo UI.

Build Status npm Coverage Status PRs Welcome

Installation

NPM

npm install --save react-leonardo-ui

Usage

ES2015

import { Button } from 'react-leonardo-ui';

CommonJS

const Button = require('react-leonardo-ui').Button;

Props passing

Properties that are not recognized by a component are passed to the root element (of most components). This removes extra abstractions and helps keeping components small and manageable.

<Button active title="My title" onClick={clickHandler}>
  My button
</Button>

In the example above, the Button component will handle the active attribute and pass title and onClick to its button element.

Contributing

You are more than welcome to contribute to the project. Just follow the instructions on CONTRIBUTING.md to setup the development environment.

Readme

Keywords

none

Package Sidebar

Install

npm i react-leonardo-ui

Weekly Downloads

385

Version

0.17.0

License

MIT

Unpacked Size

149 kB

Total Files

76

Last publish

Collaborators

  • ricsv