@bilalvis01/bs-material-ui-icons
Reason bindings for material-ui-icons
Last updated 6 months ago by bilalvis01 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @bilalvis01/bs-material-ui-icons 
SYNC missed versions from official npm registry.

bs-material-ui-icons

Reason bindings for material ui icons.

Status

This package is still under active development.

Installation

npm install --save-dev @bilalvis01/bs-material-ui-icons

Add a script to your package.json.

{
  "scripts" {
    "build-icons": "bs-mui-icons --build"
  }
}

note: @material-ui/core >= 4.5.0, @material-ui/icons >= 4.5.0 and reason-react >= 0.7.0 are peer depencencies.

Usage

Create bsmuiicons.config.js in your project directory.

// bsmuiicons.config.js
module.exports = {
  icons = [
    'Menu',
    'Search',
  ]
}

Run the command below in your project directory.

$ npm run build-icons

If everything went right, the icons (with all theme: Filled, Outlined, Rounded, TwoTone, Sharp) will be generated in mui-icons folder in your project directory.

Finally, don't forget to update your bsconfig.json if necessary.

Configuration

Fields Description Type Default
icons List of generated icons. 'all' | array(materialIcons) 'all'
outputDir The location of the generated icons. string './mui-icons'

note: set icons value to 'all' is discouraged because the number of the generated icons are more than 5000 and it may affect to your build performance.

Options

--build

Pass this flag when you want to build your icons.

Documentation

WIP

Current Tags

  • 0.10.3                                ...           latest (6 months ago)

9 Versions

  • 0.10.3                                ...           6 months ago
  • 0.10.2                                ...           6 months ago
  • 0.10.1                                ...           6 months ago
  • 0.10.0                                ...           6 months ago
  • 0.9.0                                ...           6 months ago
  • 0.8.2                                ...           7 months ago
  • 0.8.1                                ...           7 months ago
  • 0.2.0                                ...           7 months ago
  • 0.1.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 9
Last Day 0
Last Week 9
Last Month 1
Dependencies (4)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |