An open API service indexing awesome lists of open source software.

https://github.com/appleple/react-icon-picker

Just a simple icon picker for React
https://github.com/appleple/react-icon-picker

Last synced: about 1 year ago
JSON representation

Just a simple icon picker for React

Awesome Lists containing this project

README

          

# React IconPicker

## Screen Capture

![](./screen-shot.png)

## Install
```sh
$ npm install react-icon-picker --save-dev
```

## Usage

```js
import * as React from 'react';
import IconPicker from 'react-icon-picker';

const icons = [
'fas fa-camera',
'fas fa-fish',
'fas fa-align-center',
'fas fa-align-justify'
];

const App = () => {

const [state, setState] = React.useState({
icon: ''
});

return (<>

{
setState({
...state,
icon
})
}}
/>
>);
}
```