diff --git a/README.md b/README.md index 830fa6aa4..43ff1e939 100644 --- a/README.md +++ b/README.md @@ -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)) Download stats above only for NPM diff --git a/site/getting-started.savvy b/site/getting-started.savvy index 17296ba2d..53560318d 100644 --- a/site/getting-started.savvy +++ b/site/getting-started.savvy @@ -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