This commit is contained in:
Austin Andrews
2018-05-13 19:53:44 -05:00
2 changed files with 5 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ This repo contains all the planning for current and work-in-progress Material De
[Getting Started for Bootstrap](http://materialdesignicons.com/bootstrap) - [Getting Started for Other Platforms](http://materialdesignicons.com/getting-started)
[![npm](https://img.shields.io/npm/v/@mdi/font.svg)](https://www.npmjs.com/package/mdi) [![npm](https://img.shields.io/bower/v/mdi.svg)](https://www.npmjs.com/package/mdi) [![GitHub issues](https://img.shields.io/github/issues/Templarian/MaterialDesign.svg)](https://github.com/Templarian/MaterialDesign/issues) [![npm](https://img.shields.io/npm/dm/@mdi/font.svg)](https://github.com/Templarian/MaterialDesign-Webfont) + (renamed `mdi` [![npm](https://img.shields.io/npm/dm/mdi.svg)](https://github.com/Templarian/MaterialDesign-Webfont))
[![npm](https://img.shields.io/npm/v/@mdi/font.svg)](https://www.npmjs.com/package/@mdi/svg) [![npm](https://img.shields.io/bower/v/mdi.svg)](https://www.npmjs.com/package/@mdi/svg) [![GitHub issues](https://img.shields.io/github/issues/Templarian/MaterialDesign.svg)](https://github.com/Templarian/MaterialDesign/issues) [![npm](https://img.shields.io/npm/dm/@mdi/font.svg)](https://github.com/Templarian/MaterialDesign-Webfont) + (renamed `mdi` [![npm](https://img.shields.io/npm/dm/mdi.svg)](https://github.com/Templarian/MaterialDesign-Webfont))
<sub>Download stats above only for NPM</sub>

View File

@@ -291,9 +291,11 @@ The `mdi.html` contains all the icons provided on the site. Use inline with the
Learn more about custom icons in the [polymer documentation for v0.5](https://www.polymer-project.org/docs/elements/icons.html#roll-your-own) and for Polymer v1.0 [iron-iconset-svg](https://elements.polymer-project.org/elements/iron-iconset-svg).
## React
## React and Preact
If you are using [React](https://facebook.github.io/react/), you can find all SVG icons packaged as single React components in [mdi-react](https://github.com/levrik/mdi-react).
If you are using [React](https://reactjs.org/), you can find all SVG icons packaged as single React components in [mdi-react](https://github.com/levrik/mdi-react).
If you are using [Preact](https://preactjs.com/) instead, you can use [mdi-preact](https://github.com/levrik/mdi-react/blob/master/README-preact.md). It's the same package as above with a few changes made for Preact compatibility.
## React with Material-UI