Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Goo authored Jun 21, 2019
1 parent f7cf26d commit f3879ba
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions packages/mdc-linear-progress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,20 @@ npm install @material/linear-progress
</div>
```

### Styles
```scss
@import "@material/linear-progress/mdc-linear-progress";
```
### Styles
```scss
@import "@material/linear-progress/mdc-linear-progress";
```

### JavaScript Instantiation

### JavaScript Instantiation
```js
import { MDCLinearProgress } from '@material/linear-progress';

```js
import { MDCLinearProgress } from '@material/linear-progress';
const linearProgress = new MDCLinearProgress(document.querySelector('.mdc-linear-progress'));
```
const linearProgress = new MDCLinearProgress(document.querySelector('.mdc-linear-progress'));
``

> See [Importing the JS component](../../docs/importing-js.md) for more information on how to import JavaScript.
> See [Importing the JS component](../../docs/importing-js.md) for more information on how to import JavaScript.

### CSS Modifiers

Expand Down

0 comments on commit f3879ba

Please sign in to comment.