Negligible Psychological Misery

    react-gillicons
    TypeScript icon, indicating that this package has built-in type declarations

    0.32.0 • Public • Published

    react-gillicons

    A React library that permits to use all the icons from the gillicons package thanks to a uniq component.

    Icons

    See gillicons.gillianperard.com.

    Installation

    npm install gillicons react-gillicons --save
     
    # or 
     
    yarn add gillicons react-gillicons

    How to use it

    To use the gillicon component, you need to import the icons you want (from the gillicons package):

    import { giPlus } from 'gillicons/giPlus';

    Or using destructuring:

    import { giPlus } from 'gillicons';

    Then you need need to import the gillicon component:

    import Gillicon from 'react-gillicon'

    Finally write in jsx/tsx:

    <Gillicon
        className="class-you-want"
        icon={giPlus}
        onClick={doSomething}
        style={...} />

    License

    This library is released under the terms of the MIT License.

    Install

    npm i react-gillicons

    DownloadsWeekly Downloads

    3

    Version

    0.32.0

    License

    MIT

    Unpacked Size

    4.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • gillianperard