Skip to content

Commit

Permalink
Chore: Upgrade react-icons to 3.7.0 (#1406)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyjmartinez authored and sapegin committed Jul 25, 2019
1 parent 981eeaa commit c3731c7
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 48 deletions.
6 changes: 4 additions & 2 deletions docs/Webpack.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ If you’re using [Create React App](https://github.com/facebook/create-react-ap

```javascript
module.exports = {
propsParser: require('react-docgen-typescript').withCustomConfig('./tsconfig.json').parse
propsParser: require('react-docgen-typescript').withCustomConfig(
'./tsconfig.json'
).parse
}
```

Expand All @@ -117,7 +119,7 @@ npm install --save-dev babel-loader

> **Note:** If your project doesn’t use webpack you still need add webpack loaders for your files, otherwise Styleguidist won’t be able to load your code.
Then, add a `webpackConfig` section to your `styleguide.config.js`
Then, add a `webpackConfig` section to your `styleguide.config.js`

```js
module.exports = {
Expand Down
86 changes: 44 additions & 42 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"react-docgen-annotation-resolver": "^1.0.0",
"react-docgen-displayname-handler": "^2.1.1",
"react-group": "^3.0.0",
"react-icons": "^2.2.7",
"react-icons": "^3.7.0",
"react-lifecycles-compat": "^3.0.4",
"react-simple-code-editor": "^0.9.7",
"recast": "^0.17.4",
Expand Down
2 changes: 1 addition & 1 deletion src/client/rsg-components/Pathline/PathlineRenderer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import copy from 'clipboard-copy';
import MdContentCopy from 'react-icons/lib/md/content-copy';
import { MdContentCopy } from 'react-icons/md';
import ToolbarButton from 'rsg-components/ToolbarButton';
import Styled from 'rsg-components/Styled';

Expand Down
3 changes: 1 addition & 2 deletions src/client/rsg-components/slots/IsolateButton.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import MdFullscreen from 'react-icons/lib/md/fullscreen';
import MdFullscreenExit from 'react-icons/lib/md/fullscreen-exit';
import { MdFullscreen, MdFullscreenExit } from 'react-icons/md';
import ToolbarButton from 'rsg-components/ToolbarButton';
import getUrl from '../../utils/getUrl';

Expand Down

0 comments on commit c3731c7

Please sign in to comment.