A react component for selecting ascii characters from a categorised character map
npm install react-character-mapInclude a character map in your app using our React Character Map.
It provides a simple interface for users to select a character from a list of categorised characters.
```
npm install react-character-map
or
``
yarn add react-character-map
`js`
// Import the module into your react app
import {CharacterMap} from 'react-character-map';
`js`
// Use the element;
onSelect={function(char,el){ console.log(char, el); }}
/>
* autofocus (boolean): When autofocus is true, the component's search input will be focused on mount. Default: true.
* characterData is an optional property that overrides the default character map. characterData should be provided in the form:`js`
{
"TAB NAME": [
{ "entity": "©", "hex": "A9;", "name": "COPYRIGHT SIGN", "char": "©" } // char is required
],
"ANOTHER TAB": [
{ MORE CHARACTER DATA }
]
}onSelect
* callback: This is fired when the user clicks on a character, and has two parameters;
`js`
onSelect(char, el)
char is an Object of the character that has been selected, for instance;
`js`
{ "hex": "ćB;", "name": "BLACK SMILING FACE", "char": "☻" }`
orjs`
{ "char":"ø" }
The second parameter el is the element that has been selected, this is an anchor.`html``

https://github.com/Dayjo/react-character-map/graphs/contributors
* @adamsilverstein
* @jeffpaul