Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Commit

Permalink
docs(icon-button): Add CSS usage instructions for icon-button (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
gugu authored and Matt Goo committed Dec 28, 2018
1 parent 512f3aa commit 43cd579
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/icon-button/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ npm install @material/react-icon-button

## Usage


### Styles

with Sass:
```js
import '@material/react-icon-button/index.scss';
```

with CSS:
```js
import '@material/react-icon-button/dist/icon-button.css';
```

### JSX Structure

```js
import React from 'react';
import IconButton from '@material/react-icon-button';
Expand Down

0 comments on commit 43cd579

Please sign in to comment.