@qwant/react-feather-icons

0.1.8 • Public • Published

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

Package Sidebar

Install

npm i @qwant/react-feather-icons

Weekly Downloads

2

Version

0.1.8

License

MIT

Unpacked Size

358 kB

Total Files

9

Last publish

Collaborators

  • sdrll
  • pascaloliv
  • c.torre
  • p.vignaux