Skip to content

Commit c3731c7

Browse files
tonyjmartinezsapegin
authored andcommitted
Chore: Upgrade react-icons to 3.7.0 (styleguidist#1406)
1 parent 981eeaa commit c3731c7

File tree

5 files changed

+51
-48
lines changed

5 files changed

+51
-48
lines changed

docs/Webpack.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ If you’re using [Create React App](https://github.com/facebook/create-react-ap
9797

9898
```javascript
9999
module.exports = {
100-
propsParser: require('react-docgen-typescript').withCustomConfig('./tsconfig.json').parse
100+
propsParser: require('react-docgen-typescript').withCustomConfig(
101+
'./tsconfig.json'
102+
).parse
101103
}
102104
```
103105

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

118120
> **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.
119121
120-
Then, add a `webpackConfig` section to your `styleguide.config.js`
122+
Then, add a `webpackConfig` section to your `styleguide.config.js`
121123

122124
```js
123125
module.exports = {

package-lock.json

Lines changed: 44 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"react-docgen-annotation-resolver": "^1.0.0",
7777
"react-docgen-displayname-handler": "^2.1.1",
7878
"react-group": "^3.0.0",
79-
"react-icons": "^2.2.7",
79+
"react-icons": "^3.7.0",
8080
"react-lifecycles-compat": "^3.0.4",
8181
"react-simple-code-editor": "^0.9.7",
8282
"recast": "^0.17.4",

src/client/rsg-components/Pathline/PathlineRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
33
import copy from 'clipboard-copy';
4-
import MdContentCopy from 'react-icons/lib/md/content-copy';
4+
import { MdContentCopy } from 'react-icons/md';
55
import ToolbarButton from 'rsg-components/ToolbarButton';
66
import Styled from 'rsg-components/Styled';
77

src/client/rsg-components/slots/IsolateButton.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
3-
import MdFullscreen from 'react-icons/lib/md/fullscreen';
4-
import MdFullscreenExit from 'react-icons/lib/md/fullscreen-exit';
3+
import { MdFullscreen, MdFullscreenExit } from 'react-icons/md';
54
import ToolbarButton from 'rsg-components/ToolbarButton';
65
import getUrl from '../../utils/getUrl';
76

0 commit comments

Comments
 (0)