Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade react-icons to 3.7.0 #1406

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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