Isolate icons into separate components

This commit is contained in:
John Furrow
2016-01-10 21:05:12 -08:00
parent 4c2c68c317
commit 0b752a9cb8
40 changed files with 628 additions and 148 deletions
@@ -0,0 +1,18 @@
import React from 'react';
import BaseIcon from './BaseIcon';
export default class Active extends BaseIcon {
render() {
return (
<svg className={`icon icon--active ${this.props.className}`}
xmlns={this.getXmlns} viewBox={this.getViewBox()}>
<path d="M25.7,25.7H13v17.4H2.6L19.3,60L36,43.1H25.7V25.7z M40.7,0L24,16.9h10.3v17.4H47V16.9h10.3L40.7,0z"/>
</svg>
);
}
}
Active.defaultProps = {
className: ''
};