React implementation of Leonardo UI.
NPM
npm install --save react-leonardo-ui
ES2015
import { Button } from 'react-leonardo-ui';
CommonJS
const Button = require('react-leonardo-ui').Button;
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.
You are more than welcome to contribute to the project. Just follow the instructions on CONTRIBUTING.md to setup the development environment.