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
- Host: GitHub
- URL: https://github.com/appleple/react-icon-picker
- Owner: appleple
- License: mit
- Created: 2019-05-29T06:48:23.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-16T20:08:35.000Z (about 3 years ago)
- Last Synced: 2024-04-14T23:59:39.015Z (about 2 years ago)
- Language: TypeScript
- Size: 2.5 MB
- Stars: 1
- Watchers: 6
- Forks: 3
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React IconPicker
## Screen Capture

## 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
})
}}
/>
>);
}
```