mirror of
https://github.com/Templarian/MaterialDesign.git
synced 2026-03-09 18:06:53 +01:00
Merge branch 'master' of https://github.com/Templarian/MaterialDesign
This commit is contained in:
@@ -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)
|
||||
|
||||
[](https://www.npmjs.com/package/mdi) [](https://www.npmjs.com/package/mdi) [](https://github.com/Templarian/MaterialDesign/issues) [](https://github.com/Templarian/MaterialDesign-Webfont) + (renamed `mdi` [](https://github.com/Templarian/MaterialDesign-Webfont))
|
||||
[](https://www.npmjs.com/package/@mdi/svg) [](https://www.npmjs.com/package/@mdi/svg) [](https://github.com/Templarian/MaterialDesign/issues) [](https://github.com/Templarian/MaterialDesign-Webfont) + (renamed `mdi` [](https://github.com/Templarian/MaterialDesign-Webfont))
|
||||
|
||||
<sub>Download stats above only for NPM</sub>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user