Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 792 Bytes

README.md

File metadata and controls

40 lines (29 loc) · 792 Bytes

Qwant React Feather Icons

Installation

yarn add @qwant/react-feather-icons

Usage

import React, { Component } from 'react'
import Icon from '@qwant/react-feather-icons'

class MyClass extends Component {
  render() {
    return (
      <Icon
        name="search"
        color="red"
        size={48}
      />
    )
  }
}

Props

  • name: PropTypes.oneOf(['all', 'chevron', 'cross', 'images', 'list', 'logo', 'music', 'news', 'search', 'settings', 'shopping', 'social', 'videos', 'web']).isRequired
  • color: PropTypes.string
  • size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
chevron
  • direction: PropTypes.oneOf(['up', 'down', 'left', 'right']).isRequired
all
  • active: PropTypes.bool