0.3.1 • Published 6 years ago

@pie-libs/icons v0.3.1

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

icons

icon sets for use in PIEs.

Demo

    npm install
    npm run demo 

And navigate to http://localhost:8080

Usage

npm install @pie-libs/icons

Import with the following:

import {
  Correct,
  CorrectResponse,
  Incorrect,
  Instructions,
  LearnMore,
  NothingSubmitted,
  PartiallyCorrect,
  ShowRationale,
} from '@pie-libs/icons';

    //....

<CorrectIcon iconSet="emoji" shape="round"/>
<PartiallyCorrectIcon iconSet="emoji" shape="square" open={true} />
<IncorrectIcon iconSet="check" shape="square"/>
<NothingSubmittedIcon iconSet="emoji" shape="square"/>
<ShowRationaleIcon iconSet="emoji" />
<LearnMoreIcon open={true} />
<CorrectResponseIcon open={false} />
<InstructionsIcon open={true} />

Using in your own library

The package provides jsx and less, you'll need to use a module bundler/processor to process these when building your own library.