1.1.1 • Published 8 years ago
react-svg-icon-component v1.1.1
react-svg-icon-component
svg icons as react components
##installation:
npm install --save react-svg-icon-component
##usage:
const reactSvgIconComponent = require('react-svg-icon-component');
##documentation:
extRef: React.PropTypes.string.isRequired
Required external reference defining the path to the svg file.
icon: React.PropTypes.string.isRequired
Required icon id identifying the specific icon in the svg file.
className: React.PropTypes.string
Optional class set on the svg component.
title: React.PropTypes.string
Optional title attribute set on the svg component.