Skip to content

Commit

Permalink
fix Netlify deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Mar 26, 2020
1 parent 4fa1fd3 commit 429f3ce
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions docs/src/pages/components/icons/icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,25 @@ title: React Icon Component
components: Icon, SvgIcon
---

# Installation
# Icons

<p class="description">Guidance and suggestions for using icons with Material-UI.</p>

Material-UI provides icons support in three ways:

1. Standardized [Material Design icons](#material-icons) exported as React components (SVG icons).
1. With the [SvgIcon](#svgicon) component, a React wrapper for custom SVG icons.
1. With the [Icon](#icon-font-icons) component, a React wrapper for custom font icons.

## Material Icons

Material Design has standardized over 1,100 official icons, each in five different "themes" (see below). For each SVG icon, we export the respective React component from the @material-ui/icons package. You can [search the full list of these icons](/components/material-icons/).

### Installation

Install the package in your project directory with:

```bash
```sh
// with npm
npm install @material-ui/icons

Expand All @@ -19,31 +33,17 @@ These components use the Material-UI SvgIcon component to render the SVG path fo

If you are not already using Material-UI in your project, you can add it with:

```bash
```sh
// with npm
npm install @material-ui/core

// with yarn
yarn add @material-ui/core
```

# Icons

<p class="description">Guidance and suggestions for using icons with Material-UI.</p>

Material-UI provides icons support in three ways:

1. Standardized [Material Design icons](#material-icons) exported as React components (SVG icons).
1. With the [SvgIcon](#svgicon) component, a React wrapper for custom SVG icons.
1. With the [Icon](#icon-font-icons) component, a React wrapper for custom font icons.

## Material Icons

Material Design has standardized over 1,100 official icons, each in five different "themes" (see below). For each SVG icon, we export the respective React component from the @material-ui/icons package. You can [search the full list of these icons](/components/material-icons/).

### Usage

Install `@material-ui/icons`. Import icons using one of these two options:
Import icons using one of these two options:

- Option 1:

Expand Down

0 comments on commit 429f3ce

Please sign in to comment.