blia / react-svg-buttons

React configurable animated svg buttons

Home Page:http://plouc.github.io/react-svg-buttons/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React SVG buttons

Version

This package contains a small set of animated svg icons to be used as button. Take a look at the demo.

Installation

npm install --save react-svg-buttons

Usage

import { React }                             from 'react';
import { BackButton, PlusButton, NavButton } from 'react-svg-buttons';

const Test = React.createClass({
    displayName: 'Test',
    render() {
        return (
            <div>
                <BackButton/>
                <PlusButton/>
                <NavButton/>
            </div>
        );
    }
});

React.render(<Test/>, document.getElementById('test'));

License

MIT. Copyright (c) 2015 Raphaël Benitte.

About

React configurable animated svg buttons

http://plouc.github.io/react-svg-buttons/

License:MIT License


Languages

Language:JavaScript 100.0%