Skip to content

Commit

Permalink
Integrating comments for the previous commit
Browse files Browse the repository at this point in the history
- Changing the language formatting
- Removed the nesting of p element
  • Loading branch information
agnivade committed Aug 18, 2015
1 parent d744806 commit fafe1f3
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions docs/src/app/components/pages/components/icons.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
let React = require('react');
let { ClearFix, FontIcon, Styles, Paper } = require('material-ui');
let CodeBlock = require('../../code-example/code-block');
let ComponentDoc = require('../../component-doc');
let ActionHome = require('svg-icons/action/home');

Expand Down Expand Up @@ -33,17 +34,15 @@ class FontIconPage extends React.Component {
Icons</a> for our documentation site along with some custom icons. You can use
sites like <a title="Icomoon website" href="https://icomoon.io/">IcoMoon</a> for
generating custom font files. To use FontIcons, add your stylesheet to your project
and reference the icon&#39;s className in the "className" prop.
<p style={this.getStyles()}>
and reference the icon&#39;s className in the "className" prop. <br /><br />
We also support <a title="Google's
Material Icons" href="https://google.github.io/material-design-icons">Google&#39;s
Material Icons</a> as seen in the third block of code. If you are using the material icons, you need
to include the following line
<Paper zDepth={1}>
<p>&lt;link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"&gt;</p>
Material Icons</a> as seen in the third block of code. If you're using the material icons, be sure to include the link to the font icon file in your head section:
<Paper>
<CodeBlock>
{'<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">'}
</CodeBlock>
</Paper>
to your &lt;head&gt; section to use the icons.
</p>
</p>
);

Expand Down

0 comments on commit fafe1f3

Please sign in to comment.