This is client side plugin and has server side plugin dependency.
FileManager: https://github.com/react-filemanager
Back-end Support: https://github.com/themexpert/rfms-plugin-fontawesome
npm i @themexpert/rfm-plugin-fontawesome
or
yarn add @themexpert/rfm-plugin-fontawesome
Include
@themexpert/rfm-plugin-fontawesome
in babel loader in your webpack config
import initFM from '@themexpert/react-filemanager'
import FontAwesome from '@themexpert/rfm-plugin-fontawesome'
const openFilemanager = initFM('server');
window.ReactFileManager.registerPlugin(FontAwesome);
Double click on the icons to select
Return value is an object
{
type: 'svg',
svg: 'raw svg data for icon'
}