famicon

0.1.2 • Public • Published

Famicon

Fontawesome svg icon component for mithril https://kliksob.github.io/famicon/

How to use

npm install famicon
const m = require("mithril");
const faIconName = require("famicon/dist/solid/faIconName");
 
m(faIconName, {
  svgAttrs: {}, // svg attributes eg. style
  pathAttrs: {} // path attributes
});

all icon

const { solid } = require("famicon");
const { faIconName } = solid;

all icon type

const { faIconName } = require("famicon/dist/solid");

individual icon [recomended]

const faIconName = require("famicon/dist/solid/faIconName");

Build example docs

npm install -g parcel-bundler
npm run watch-docs
npm run build-docs

Development

Make sure your os is linux. because we use shelljs

git clone https://github.com/kliksob/famicon.git
cd famicon
npm install
node build.js

Package Sidebar

Install

npm i famicon

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

3.19 MB

Total Files

1567

Last publish

Collaborators

  • kliksob