1.0.2 • Published 9 years ago
@hnordt/reax-icon v1.0.2
Reax Icon
Bootstrap Icon component for React
PropTypes
{
type: PropTypes.oneOf([
'glyphicon',
'fa',
'icon'
]),
name: PropTypes.string.isRequired
}
Usage
npm install --save @hnordt/reax-icon
import React from 'react';
import Icon from '@hnordt/reax-icon';
const Foo = () => (
<Icon name="envelope" />
);
export default Foo;