From fbc90ea761e7b8ac8a2cceb708901610f7b27d3c Mon Sep 17 00:00:00 2001 From: "Ian J. Miller" Date: Thu, 16 Nov 2017 11:55:25 -0600 Subject: [PATCH] correct export ability. move to index only --- src/FeatherIcon.js | 1537 ------------------------------------------- src/index.js | 1562 +++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 1558 insertions(+), 1541 deletions(-) delete mode 100644 src/FeatherIcon.js diff --git a/src/FeatherIcon.js b/src/FeatherIcon.js deleted file mode 100644 index b4ec9dd..0000000 --- a/src/FeatherIcon.js +++ /dev/null @@ -1,1537 +0,0 @@ -import React, { Component } from 'react'; -import PropTypes from 'prop-types'; - -class FeatherIcon extends Component { - constructor(props) { - super(props); - } - - render() { - const { icon, size, ...otherProps } = this.props; - - return ( - - {this._renderInner(icon)} - - ); - } - - _renderInner(icon) { - /* this is just a bunch of if statements to return the innards of the svg - * based on the type of icon it is. - * yes it's ok to not use our width and height variables here. - * the sizes are relative based on the viewBox attribute. - * our width and height variables will scale the SVG accordingly. - * is just a wrapper it does nothing except let me use valid JSX markup - */ - if (icon === 'activity') { - return ( - - - - ); - } - if (icon === 'airplay') { - return ( - - - - - ); - } - if (icon === 'alert-circle') { - return ( - - - - ); - } - if (icon === 'alert-octagon') { - return ( - - - - ); - } - if (icon === 'alert-triangle') { - return ( - - - - ); - } - if (icon === 'align-center') { - return ( - - - - ); - } - if (icon === 'align-justify') { - return ( - - - - ); - } - if (icon === 'align-left') { - return ( - - - - ); - } - if (icon === 'align-right') { - return ( - - - - ); - } - if (icon === 'anchor') { - return ( - - - - ); - } - if (icon === 'aperture') { - return ( - - - - ); - } - if (icon === 'arrow-down-left') { - return ( - - - - ); - } - if (icon === 'arrow-down-right') { - return ( - - - - ); - } - if (icon === 'arrow-down') { - return ( - - - - ); - } - if (icon === 'arrow-left') { - return ( - - - - ); - } - if (icon === 'arrow-right') { - return ( - - - - ); - } - if (icon === 'arrow-up-left') { - return ( - - - - ); - } - if (icon === 'arrow-up-right') { - return ( - - - - ); - } - if (icon === 'arrow-up') { - return ( - - - - ); - } - if (icon === 'at-sign') { - return ( - - - - ); - } - if (icon === 'award') { - return ( - - - - ); - } - if (icon === 'bar-chart-2') { - return ( - - - - ); - } - if (icon === 'bar-chart') { - return ( - - - - ); - } - if (icon === 'battery-charging') { - return ( - - - - ); - } - if (icon === 'battery') { - return ( - - - - ); - } - if (icon === 'bell-off') { - return ( - - - - ); - } - if (icon === 'bell') { - return ( - - - - ); - } - if (icon === 'bluetooth') { - return ( - - - - ); - } - if (icon === 'bold') { - return ( - - - - ); - } - if (icon === 'book') { - return ( - - - - ); - } - if (icon === 'bookmark') { - return ( - - - - ); - } - if (icon === 'box') { - return ( - - - - ); - } - if (icon === 'briefcase') { - return ( - - - - ); - } - if (icon === 'calendar') { - return ( - - - - ); - } - if (icon === 'camera-off') { - return ( - - - - ); - } - if (icon === 'camera') { - return ( - - - - ); - } - if (icon === 'cast') { - return ( - - - - ); - } - if (icon === 'check-circle') { - return ( - - - - ); - } - if (icon === 'check-square') { - return ( - - - - ); - } - if (icon === 'check') { - return ( - - - - ); - } - if (icon === 'chevron-down') { - return ( - - - ); - } - if (icon === 'chevron-left') { - return ( - - - ); - } - if (icon === 'chevron-right') { - return ( - - - ); - } - if (icon === 'chevron-up') { - return ( - - - ); - } - if (icon === 'chevrons-down') { - return ( - - - ); - } - if (icon === 'chevrons-left') { - return ( - - - ); - } - if (icon === 'chevrons-right') { - return ( - - - ); - } - if (icon === 'chevrons-up') { - return ( - - - ); - } - if (icon === 'chrome') { - return ( - - - ); - } - if (icon === 'circle') { - return ( - - - ); - } - if (icon === 'clipboard') { - return ( - - - ); - } - if (icon === 'clock') { - return ( - - - ); - } - if (icon === 'cloud-drizzle') { - return ( - - - ); - } - if (icon === 'cloud-lightning') { - return ( - - - ); - } - if (icon === 'cloud-off') { - return ( - - - ); - } - if (icon === 'cloud-rain') { - return ( - - - ); - } - if (icon === 'cloud-snow') { - return ( - - - ); - } - if (icon === 'cloud') { - return ( - - - ); - } - if (icon === 'codepen') { - return ( - - - ); - } - if (icon === 'command') { - return ( - - - ); - } - if (icon === 'compass') { - return ( - - - ); - } - if (icon === 'copy') { - return ( - - - ); - } - if (icon === 'corner-down-left') { - return ( - - - ); - } - if (icon === 'corner-down-right') { - return ( - - - ); - } - if (icon === 'corner-left-down') { - return ( - - - ); - } - if (icon === 'corner-left-up') { - return ( - - - ); - } - if (icon === 'corner-right-down') { - return ( - - - ); - } - if (icon === 'corner-right-up') { - return ( - - - ); - } - if (icon === 'corner-up-left') { - return ( - - - ); - } - if (icon === 'corner-up-right') { - return ( - - - ); - } - if (icon === 'cpu') { - return ( - - - ); - } - if (icon === 'credit-card') { - return ( - - - ); - } - if (icon === 'crop') { - return ( - - - ); - } - if (icon === 'crosshair') { - return ( - - - ); - } - if (icon === 'delete') { - return ( - - - ); - } - if (icon === 'disc') { - return ( - - - ); - } - if (icon === 'download-cloud') { - return ( - - - ); - } - if (icon === 'download') { - return ( - - - ); - } - if (icon === 'droplet') { - return ( - - - ); - } - if (icon === 'edit-2') { - return ( - - - ); - } - if (icon === 'edit-3') { - return ( - - - ); - } - if (icon === 'edit') { - return ( - - - ); - } - if (icon === 'external-link') { - return ( - - - ); - } - if (icon === 'eye-off') { - return ( - - - ); - } - if (icon === 'eye') { - return ( - - - ); - } - if (icon === 'facebook') { - return ( - - - ); - } - if (icon === 'fast-forward') { - return ( - - - ); - } - if (icon === 'feather') { - return ( - - - ); - } - if (icon === 'file-minus') { - return ( - - - ); - } - if (icon === 'file-plus') { - return ( - - - ); - } - if (icon === 'file-text') { - return ( - - - ); - } - if (icon === 'file') { - return ( - - - ); - } - if (icon === 'film') { - return ( - - - ); - } - if (icon === 'filter') { - return ( - - - ); - } - if (icon === 'flag') { - return ( - - - ); - } - if (icon === 'folder') { - return ( - - - ); - } - if (icon === 'github') { - return ( - - - ); - } - if (icon === 'gitlab') { - return ( - - - ); - } - if (icon === 'globe') { - return ( - - - ); - } - if (icon === 'grid') { - return ( - - - ); - } - if (icon === 'hash') { - return ( - - - ); - } - if (icon === 'headphones') { - return ( - - - ); - } - if (icon === 'heart') { - return ( - - - ); - } - if (icon === 'help-circle') { - return ( - - - ); - } - if (icon === 'home') { - return ( - - - ); - } - if (icon === 'image') { - return ( - - - ); - } - if (icon === 'inbox') { - return ( - - - ); - } - if (icon === 'info') { - return ( - - - - - - ); - } - if (icon === 'instagram') { - return ( - - - - - - ); - } - if (icon === 'italic') { - return ( - - - ); - } - if (icon === 'layers') { - return ( - - - ); - } - if (icon === 'layout') { - return ( - - - ); - } - if (icon === 'life-buoy') { - return ( - - - ); - } - if (icon === 'link-2') { - return ( - - - ); - } - if (icon === 'link') { - return ( - - - ); - } - if (icon === 'list') { - return ( - - - ); - } - if (icon === 'loader') { - return ( - - - ); - } - if (icon === 'lock') { - return ( - - - ); - } - if (icon === 'log-in') { - return ( - - - ); - } - if (icon === 'log-out') { - return ( - - - ); - } - if (icon === 'mail') { - return ( - - - ); - } - if (icon === 'map-pin') { - return ( - - - ); - } - if (icon === 'map') { - return ( - - - ); - } - if (icon === 'maximize-2') { - return ( - - - ); - } - if (icon === 'maximize') { - return ( - - - ); - } - if (icon === 'menu') { - return ( - - - ); - } - if (icon === 'message-circle') { - return ( - - - ); - } - if (icon === 'message-square') { - return ( - - - ); - } - if (icon === 'mic-off') { - return ( - - - ); - } - if (icon === 'mic') { - return ( - - - ); - } - if (icon === 'minimize-2') { - return ( - - - ); - } - if (icon === 'minimize') { - return ( - - - ); - } - if (icon === 'minus-circle') { - return ( - - - ); - } - if (icon === 'minus-square') { - return ( - - - ); - } - if (icon === 'minus') { - return ( - - - ); - } - if (icon === 'monitor') { - return ( - - - ); - } - if (icon === 'moon') { - return ( - - - ); - } - if (icon === 'more-horizontal') { - return ( - - - ); - } - if (icon === 'more-vertical') { - return ( - - - ); - } - if (icon === 'move') { - return ( - - - ); - } - if (icon === 'music') { - return ( - - - ); - } - if (icon === 'navigation-2') { - return ( - - - ); - } - if (icon === 'navigation') { - return ( - - - ); - } - if (icon === 'octagon') { - return ( - - - ); - } - if (icon === 'package') { - return ( - - - ); - } - if (icon === 'paperclip') { - return ( - - - ); - } - if (icon === 'pause-circle') { - return ( - - - ); - } - if (icon === 'pause') { - return ( - - - ); - } - if (icon === 'percent') { - return ( - - - ); - } - if (icon === 'phone-call') { - return ( - - - ); - } - if (icon === 'phone-forwarded') { - return ( - - - ); - } - if (icon === 'phone-incoming') { - return ( - - - ); - } - if (icon === 'phone-missed') { - return ( - - - ); - } - if (icon === 'phone-off') { - return ( - - - ); - } - if (icon === 'phone-outgoing') { - return ( - - - ); - } - if (icon === 'phone') { - return ( - - - ); - } - if (icon === 'pie-chart') { - return ( - - - ); - } - if (icon === 'play-circle') { - return ( - - - ); - } - if (icon === 'play') { - return ( - - - ); - } - if (icon === 'plus-circle') { - return ( - - - ); - } - if (icon === 'plus-square') { - return ( - - - ); - } - if (icon === 'plus') { - return ( - - - ); - } - if (icon === 'pocket') { - return ( - - - ); - } - if (icon === 'power') { - return ( - - - ); - } - if (icon === 'printer') { - return ( - - - ); - } - if (icon === 'radio') { - return ( - - - ); - } - if (icon === 'refresh-ccw') { - return ( - - - ); - } - if (icon === 'refresh-cw') { - return ( - - - ); - } - if (icon === 'repeat') { - return ( - - - ); - } - if (icon === 'rewind') { - return ( - - - ); - } - if (icon === 'rotate-ccw') { - return ( - - - ); - } - if (icon === 'rotate-cw') { - return ( - - - ); - } - if (icon === 'save') { - return ( - - - ); - } - if (icon === 'scissors') { - return ( - - - ); - } - if (icon === 'search') { - return ( - - - ); - } - if (icon === 'server') { - return ( - - - ); - } - if (icon === 'settings') { - return ( - - - ); - } - if (icon === 'share-2') { - return ( - - - ); - } - if (icon === 'share') { - return ( - - - ); - } - if (icon === 'shield') { - return ( - - - ); - } - if (icon === 'shopping-cart') { - return ( - - - ); - } - if (icon === 'shuffle') { - return ( - - - ); - } - if (icon === 'sidebar') { - return ( - - - ); - } - if (icon === 'skip-back') { - return ( - - - ); - } - if (icon === 'skip-forward') { - return ( - - - ); - } - if (icon === 'slack') { - return ( - - - ); - } - if (icon === 'slash') { - return ( - - - ); - } - if (icon === 'sliders') { - return ( - - - ); - } - if (icon === 'smartphone') { - return ( - - - ); - } - if (icon === 'speaker') { - return ( - - - ); - } - if (icon === 'square') { - return ( - - - ); - } - if (icon === 'star') { - return ( - - - ); - } - if (icon === 'stop-circle') { - return ( - - - ); - } - if (icon === 'sun') { - return ( - - - ); - } - if (icon === 'sunrise') { - return ( - - - ); - } - if (icon === 'sunset') { - return ( - - - ); - } - if (icon === 'tablet') { - return ( - - - ); - } - if (icon === 'tag') { - return ( - - - ); - } - if (icon === 'target') { - return ( - - - ); - } - if (icon === 'thermometer') { - return ( - - - ); - } - if (icon === 'thumbs-down') { - return ( - - - ); - } - if (icon === 'thumbs-up') { - return ( - - - ); - } - if (icon === 'toggle-left') { - return ( - - - ); - } - if (icon === 'toggle-right') { - return ( - - - ); - } - if (icon === 'trash-2') { - return ( - - - ); - } - if (icon === 'trash') { - return ( - - - ); - } - if (icon === 'trending-down') { - return ( - - - ); - } - if (icon === 'trending-up') { - return ( - - - ); - } - if (icon === 'triangle') { - return ( - - - ); - } - if (icon === 'tv') { - return ( - - - ); - } - if (icon === 'twitter') { - return ( - - - ); - } - if (icon === 'type') { - return ( - - - ); - } - if (icon === 'umbrella') { - return ( - - - ); - } - if (icon === 'underline') { - return ( - - - ); - } - if (icon === 'unlock') { - return ( - - - ); - } - if (icon === 'upload-cloud') { - return ( - - - ); - } - if (icon === 'upload') { - return ( - - - ); - } - if (icon === 'user-check') { - return ( - - - ); - } - if (icon === 'user-minus') { - return ( - - - ); - } - if (icon === 'user-plus') { - return ( - - - ); - } - if (icon === 'user-x') { - return ( - - - ); - } - if (icon === 'user') { - return ( - - - ); - } - if (icon === 'users') { - return ( - - - ); - } - if (icon === 'video-off') { - return ( - - - ); - } - if (icon === 'video') { - return ( - - - ); - } - if (icon === 'voicemail') { - return ( - - - ); - } - if (icon === 'volume-1') { - return ( - - - ); - } - if (icon === 'volume-2') { - return ( - - - ); - } - if (icon === 'volume-x') { - return ( - - - ); - } - if (icon === 'volume') { - return ( - - - ); - } - if (icon === 'watch') { - return ( - - - ); - } - if (icon === 'wifi-off') { - return ( - - - ); - } - if (icon === 'wifi') { - return ( - - - ); - } - if (icon === 'wind') { - return ( - - - ); - } - if (icon === 'x-circle') { - return ( - - - ); - } - if (icon === 'x-square') { - return ( - - - ); - } - if (icon === 'x') { - return ( - - - ); - } - if (icon === 'zap') { - return ( - - - ); - } - if (icon === 'zoom-in') { - return ( - - - ); - } - if (icon === 'zoom-out') { - return ( - - - ); - } - return; - } -} - -FeatherIcon.propTypes = { - icon: PropTypes.string.isRequired, - size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) -} - -FeatherIcon.defaultProps = { - color: 'currentColor', - size: 24 -} - -export default FeatherIcon; diff --git a/src/index.js b/src/index.js index a08784c..2f30577 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,1559 @@ -import FeatherIcon from './FeatherIcon'; +import React, { Component } from 'react'; +import PropTypes from 'prop-types'; -module.exports = { - FeatherIcon -}; +class FeatherIcon extends Component { + constructor(props) { + super(props); + } + + render() { + const { icon, size, className, ...otherProps } = this.props; + + return ( + + {this._renderInner(icon)} + + ); + } + + _renderInner(icon) { + /* this is just a bunch of if statements to return the innards of the svg + * based on the type of icon it is. + * yes it's ok to not use our width and height variables here. + * the sizes are relative based on the viewBox attribute. + * our width and height variables will scale the SVG accordingly. + * is just a wrapper it does nothing except let me use valid JSX markup + * these are all based on generated icons.json from feathericons lib + */ + if (icon === 'activity') { + return ( + + + + ); + } + if (icon === 'airplay') { + return ( + + + + + ); + } + if (icon === 'alert-circle') { + return ( + + + + ); + } + if (icon === 'alert-octagon') { + return ( + + + + ); + } + if (icon === 'alert-triangle') { + return ( + + + + ); + } + if (icon === 'align-center') { + return ( + + + + ); + } + if (icon === 'align-justify') { + return ( + + + + ); + } + if (icon === 'align-left') { + return ( + + + + ); + } + if (icon === 'align-right') { + return ( + + + + ); + } + if (icon === 'anchor') { + return ( + + + + ); + } + if (icon === 'aperture') { + return ( + + + + ); + } + if (icon === 'arrow-down-left') { + return ( + + + + ); + } + if (icon === 'arrow-down-right') { + return ( + + + + ); + } + if (icon === 'arrow-down') { + return ( + + + + ); + } + if (icon === 'arrow-left') { + return ( + + + + ); + } + if (icon === 'arrow-right') { + return ( + + + + ); + } + if (icon === 'arrow-up-left') { + return ( + + + + ); + } + if (icon === 'arrow-up-right') { + return ( + + + + ); + } + if (icon === 'arrow-up') { + return ( + + + + ); + } + if (icon === 'at-sign') { + return ( + + + + ); + } + if (icon === 'award') { + return ( + + + + ); + } + if (icon === 'bar-chart-2') { + return ( + + + + ); + } + if (icon === 'bar-chart') { + return ( + + + + ); + } + if (icon === 'battery-charging') { + return ( + + + + ); + } + if (icon === 'battery') { + return ( + + + + ); + } + if (icon === 'bell-off') { + return ( + + + + ); + } + if (icon === 'bell') { + return ( + + + + ); + } + if (icon === 'bluetooth') { + return ( + + + + ); + } + if (icon === 'bold') { + return ( + + + + ); + } + if (icon === 'book') { + return ( + + + + ); + } + if (icon === 'bookmark') { + return ( + + + + ); + } + if (icon === 'box') { + return ( + + + + ); + } + if (icon === 'briefcase') { + return ( + + + + ); + } + if (icon === 'calendar') { + return ( + + + + ); + } + if (icon === 'camera-off') { + return ( + + + + ); + } + if (icon === 'camera') { + return ( + + + + ); + } + if (icon === 'cast') { + return ( + + + + ); + } + if (icon === 'check-circle') { + return ( + + + + ); + } + if (icon === 'check-square') { + return ( + + + + ); + } + if (icon === 'check') { + return ( + + + + ); + } + if (icon === 'chevron-down') { + return ( + + + ); + } + if (icon === 'chevron-left') { + return ( + + + ); + } + if (icon === 'chevron-right') { + return ( + + + ); + } + if (icon === 'chevron-up') { + return ( + + + ); + } + if (icon === 'chevrons-down') { + return ( + + + ); + } + if (icon === 'chevrons-left') { + return ( + + + ); + } + if (icon === 'chevrons-right') { + return ( + + + ); + } + if (icon === 'chevrons-up') { + return ( + + + ); + } + if (icon === 'chrome') { + return ( + + + ); + } + if (icon === 'circle') { + return ( + + + ); + } + if (icon === 'clipboard') { + return ( + + + ); + } + if (icon === 'clock') { + return ( + + + ); + } + if (icon === 'cloud-drizzle') { + return ( + + + ); + } + if (icon === 'cloud-lightning') { + return ( + + + ); + } + if (icon === 'cloud-off') { + return ( + + + ); + } + if (icon === 'cloud-rain') { + return ( + + + ); + } + if (icon === 'cloud-snow') { + return ( + + + ); + } + if (icon === 'cloud') { + return ( + + + ); + } + if (icon === 'codepen') { + return ( + + + ); + } + if (icon === 'command') { + return ( + + + ); + } + if (icon === 'compass') { + return ( + + + ); + } + if (icon === 'copy') { + return ( + + + ); + } + if (icon === 'corner-down-left') { + return ( + + + ); + } + if (icon === 'corner-down-right') { + return ( + + + ); + } + if (icon === 'corner-left-down') { + return ( + + + ); + } + if (icon === 'corner-left-up') { + return ( + + + ); + } + if (icon === 'corner-right-down') { + return ( + + + ); + } + if (icon === 'corner-right-up') { + return ( + + + ); + } + if (icon === 'corner-up-left') { + return ( + + + ); + } + if (icon === 'corner-up-right') { + return ( + + + ); + } + if (icon === 'cpu') { + return ( + + + ); + } + if (icon === 'credit-card') { + return ( + + + ); + } + if (icon === 'crop') { + return ( + + + ); + } + if (icon === 'crosshair') { + return ( + + + ); + } + if (icon === 'delete') { + return ( + + + ); + } + if (icon === 'disc') { + return ( + + + ); + } + if (icon === 'download-cloud') { + return ( + + + ); + } + if (icon === 'download') { + return ( + + + ); + } + if (icon === 'droplet') { + return ( + + + ); + } + if (icon === 'edit-2') { + return ( + + + ); + } + if (icon === 'edit-3') { + return ( + + + ); + } + if (icon === 'edit') { + return ( + + + ); + } + if (icon === 'external-link') { + return ( + + + ); + } + if (icon === 'eye-off') { + return ( + + + ); + } + if (icon === 'eye') { + return ( + + + ); + } + if (icon === 'facebook') { + return ( + + + ); + } + if (icon === 'fast-forward') { + return ( + + + ); + } + if (icon === 'feather') { + return ( + + + ); + } + if (icon === 'file-minus') { + return ( + + + ); + } + if (icon === 'file-plus') { + return ( + + + ); + } + if (icon === 'file-text') { + return ( + + + ); + } + if (icon === 'file') { + return ( + + + ); + } + if (icon === 'film') { + return ( + + + ); + } + if (icon === 'filter') { + return ( + + + ); + } + if (icon === 'flag') { + return ( + + + ); + } + if (icon === 'folder') { + return ( + + + ); + } + if (icon === 'github') { + return ( + + + ); + } + if (icon === 'gitlab') { + return ( + + + ); + } + if (icon === 'globe') { + return ( + + + ); + } + if (icon === 'grid') { + return ( + + + ); + } + if (icon === 'hash') { + return ( + + + ); + } + if (icon === 'headphones') { + return ( + + + ); + } + if (icon === 'heart') { + return ( + + + ); + } + if (icon === 'help-circle') { + return ( + + + ); + } + if (icon === 'home') { + return ( + + + ); + } + if (icon === 'image') { + return ( + + + ); + } + if (icon === 'inbox') { + return ( + + + ); + } + if (icon === 'info') { + return ( + + + + + + ); + } + if (icon === 'instagram') { + return ( + + + + + + ); + } + if (icon === 'italic') { + return ( + + + ); + } + if (icon === 'layers') { + return ( + + + ); + } + if (icon === 'layout') { + return ( + + + ); + } + if (icon === 'life-buoy') { + return ( + + + ); + } + if (icon === 'link-2') { + return ( + + + ); + } + if (icon === 'link') { + return ( + + + ); + } + if (icon === 'list') { + return ( + + + ); + } + if (icon === 'loader') { + return ( + + + ); + } + if (icon === 'lock') { + return ( + + + ); + } + if (icon === 'log-in') { + return ( + + + ); + } + if (icon === 'log-out') { + return ( + + + ); + } + if (icon === 'mail') { + return ( + + + ); + } + if (icon === 'map-pin') { + return ( + + + ); + } + if (icon === 'map') { + return ( + + + ); + } + if (icon === 'maximize-2') { + return ( + + + ); + } + if (icon === 'maximize') { + return ( + + + ); + } + if (icon === 'menu') { + return ( + + + ); + } + if (icon === 'message-circle') { + return ( + + + ); + } + if (icon === 'message-square') { + return ( + + + ); + } + if (icon === 'mic-off') { + return ( + + + ); + } + if (icon === 'mic') { + return ( + + + ); + } + if (icon === 'minimize-2') { + return ( + + + ); + } + if (icon === 'minimize') { + return ( + + + ); + } + if (icon === 'minus-circle') { + return ( + + + ); + } + if (icon === 'minus-square') { + return ( + + + ); + } + if (icon === 'minus') { + return ( + + + ); + } + if (icon === 'monitor') { + return ( + + + ); + } + if (icon === 'moon') { + return ( + + + ); + } + if (icon === 'more-horizontal') { + return ( + + + ); + } + if (icon === 'more-vertical') { + return ( + + + ); + } + if (icon === 'move') { + return ( + + + ); + } + if (icon === 'music') { + return ( + + + ); + } + if (icon === 'navigation-2') { + return ( + + + ); + } + if (icon === 'navigation') { + return ( + + + ); + } + if (icon === 'octagon') { + return ( + + + ); + } + if (icon === 'package') { + return ( + + + ); + } + if (icon === 'paperclip') { + return ( + + + ); + } + if (icon === 'pause-circle') { + return ( + + + ); + } + if (icon === 'pause') { + return ( + + + ); + } + if (icon === 'percent') { + return ( + + + ); + } + if (icon === 'phone-call') { + return ( + + + ); + } + if (icon === 'phone-forwarded') { + return ( + + + ); + } + if (icon === 'phone-incoming') { + return ( + + + ); + } + if (icon === 'phone-missed') { + return ( + + + ); + } + if (icon === 'phone-off') { + return ( + + + ); + } + if (icon === 'phone-outgoing') { + return ( + + + ); + } + if (icon === 'phone') { + return ( + + + ); + } + if (icon === 'pie-chart') { + return ( + + + ); + } + if (icon === 'play-circle') { + return ( + + + ); + } + if (icon === 'play') { + return ( + + + ); + } + if (icon === 'plus-circle') { + return ( + + + ); + } + if (icon === 'plus-square') { + return ( + + + ); + } + if (icon === 'plus') { + return ( + + + ); + } + if (icon === 'pocket') { + return ( + + + ); + } + if (icon === 'power') { + return ( + + + ); + } + if (icon === 'printer') { + return ( + + + ); + } + if (icon === 'radio') { + return ( + + + ); + } + if (icon === 'refresh-ccw') { + return ( + + + ); + } + if (icon === 'refresh-cw') { + return ( + + + ); + } + if (icon === 'repeat') { + return ( + + + ); + } + if (icon === 'rewind') { + return ( + + + ); + } + if (icon === 'rotate-ccw') { + return ( + + + ); + } + if (icon === 'rotate-cw') { + return ( + + + ); + } + if (icon === 'save') { + return ( + + + ); + } + if (icon === 'scissors') { + return ( + + + ); + } + if (icon === 'search') { + return ( + + + ); + } + if (icon === 'server') { + return ( + + + ); + } + if (icon === 'settings') { + return ( + + + ); + } + if (icon === 'share-2') { + return ( + + + ); + } + if (icon === 'share') { + return ( + + + ); + } + if (icon === 'shield') { + return ( + + + ); + } + if (icon === 'shopping-cart') { + return ( + + + ); + } + if (icon === 'shuffle') { + return ( + + + ); + } + if (icon === 'sidebar') { + return ( + + + ); + } + if (icon === 'skip-back') { + return ( + + + ); + } + if (icon === 'skip-forward') { + return ( + + + ); + } + if (icon === 'slack') { + return ( + + + ); + } + if (icon === 'slash') { + return ( + + + ); + } + if (icon === 'sliders') { + return ( + + + ); + } + if (icon === 'smartphone') { + return ( + + + ); + } + if (icon === 'speaker') { + return ( + + + ); + } + if (icon === 'square') { + return ( + + + ); + } + if (icon === 'star') { + return ( + + + ); + } + if (icon === 'stop-circle') { + return ( + + + ); + } + if (icon === 'sun') { + return ( + + + ); + } + if (icon === 'sunrise') { + return ( + + + ); + } + if (icon === 'sunset') { + return ( + + + ); + } + if (icon === 'tablet') { + return ( + + + ); + } + if (icon === 'tag') { + return ( + + + ); + } + if (icon === 'target') { + return ( + + + ); + } + if (icon === 'thermometer') { + return ( + + + ); + } + if (icon === 'thumbs-down') { + return ( + + + ); + } + if (icon === 'thumbs-up') { + return ( + + + ); + } + if (icon === 'toggle-left') { + return ( + + + ); + } + if (icon === 'toggle-right') { + return ( + + + ); + } + if (icon === 'trash-2') { + return ( + + + ); + } + if (icon === 'trash') { + return ( + + + ); + } + if (icon === 'trending-down') { + return ( + + + ); + } + if (icon === 'trending-up') { + return ( + + + ); + } + if (icon === 'triangle') { + return ( + + + ); + } + if (icon === 'tv') { + return ( + + + ); + } + if (icon === 'twitter') { + return ( + + + ); + } + if (icon === 'type') { + return ( + + + ); + } + if (icon === 'umbrella') { + return ( + + + ); + } + if (icon === 'underline') { + return ( + + + ); + } + if (icon === 'unlock') { + return ( + + + ); + } + if (icon === 'upload-cloud') { + return ( + + + ); + } + if (icon === 'upload') { + return ( + + + ); + } + if (icon === 'user-check') { + return ( + + + ); + } + if (icon === 'user-minus') { + return ( + + + ); + } + if (icon === 'user-plus') { + return ( + + + ); + } + if (icon === 'user-x') { + return ( + + + ); + } + if (icon === 'user') { + return ( + + + ); + } + if (icon === 'users') { + return ( + + + ); + } + if (icon === 'video-off') { + return ( + + + ); + } + if (icon === 'video') { + return ( + + + ); + } + if (icon === 'voicemail') { + return ( + + + ); + } + if (icon === 'volume-1') { + return ( + + + ); + } + if (icon === 'volume-2') { + return ( + + + ); + } + if (icon === 'volume-x') { + return ( + + + ); + } + if (icon === 'volume') { + return ( + + + ); + } + if (icon === 'watch') { + return ( + + + ); + } + if (icon === 'wifi-off') { + return ( + + + ); + } + if (icon === 'wifi') { + return ( + + + + + + + ); + } + if (icon === 'wind') { + return ( + + + + ); + } + if (icon === 'x-circle') { + return ( + + + + + + ); + } + if (icon === 'x-square') { + return ( + + + + + + ); + } + if (icon === 'x') { + return ( + + + + + ); + } + if (icon === 'zap') { + return ( + + + + ); + } + if (icon === 'zoom-in') { + return ( + + + + + + + ); + } + if (icon === 'zoom-out') { + return ( + + + + + + ); + } + return; + } +} + +FeatherIcon.propTypes = { + icon: PropTypes.string.isRequired, + size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) +} + +FeatherIcon.defaultProps = { + color: 'currentColor', + size: 24 +} + +export default FeatherIcon;