Skip to content

themexpert/rfm-plugin-fontawesome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FontAwesome Plugin for React FileManager

This is client side plugin and has server side plugin dependency.

Dependencies

FileManager: https://github.com/react-filemanager

Back-end Support: https://github.com/themexpert/rfms-plugin-fontawesome

Installation

npm i @themexpert/rfm-plugin-fontawesome

or

yarn add @themexpert/rfm-plugin-fontawesome

Usage:

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);
    

Instruction

Double click on the icons to select

Return value is an object

    {
        type: 'svg',
        svg: 'raw svg data for icon'
    }

About

React FileManager FontAwesome Plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published