Skip to content

Commit

Permalink
fix(chips): replace relative path with npm package (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Goo authored Oct 1, 2018
1 parent ce03925 commit 93ac25e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 51 deletions.
67 changes: 18 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/chips/Chip.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import React, {Component} from 'react';
import classnames from 'classnames';
import PropTypes from 'prop-types';
import withRipple from '../ripple';
import withRipple from '@material/react-ripple';
import {MDCChipFoundation} from '@material/chips/dist/mdc.chips';

export class Chip extends Component {
Expand Down
2 changes: 1 addition & 1 deletion packages/chips/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import "@material/react-chips/dist/chips.css";

```js
import React, {Component} from 'react';
import ChipSet from '@material/react-chips';
import {ChipSet, Chip} from '@material/react-chips';

class MyApp extends Component {
render() {
Expand Down
1 change: 1 addition & 0 deletions packages/chips/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.5.0",
"description": "Material Components React Chips",
"license": "MIT",
"main": "dist/index.js",
"keywords": [
"mdc web react",
"material components react",
Expand Down

0 comments on commit 93ac25e

Please sign in to comment.