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

[core] Migrate to import * as React from 'react' #19802

Merged
merged 7 commits into from
Feb 26, 2020
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion packages/material-ui-icons/custom/Apple.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/custom/Facebook.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/custom/GitHub.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/custom/Instagram.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/custom/LinkedIn.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/custom/Pinterest.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/custom/Reddit.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/custom/Telegram.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/custom/Twitter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/custom/WhatsApp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/custom/YouTube.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
6 changes: 0 additions & 6 deletions packages/material-ui-icons/legacy/LocationOff.js

This file was deleted.

6 changes: 0 additions & 6 deletions packages/material-ui-icons/legacy/LocationOffOutlined.js

This file was deleted.

6 changes: 0 additions & 6 deletions packages/material-ui-icons/legacy/LocationOffRounded.js

This file was deleted.

6 changes: 0 additions & 6 deletions packages/material-ui-icons/legacy/LocationOffSharp.js

This file was deleted.

6 changes: 0 additions & 6 deletions packages/material-ui-icons/legacy/LocationOffTwoTone.js

This file was deleted.

6 changes: 0 additions & 6 deletions packages/material-ui-icons/legacy/LocationOn.js

This file was deleted.

6 changes: 0 additions & 6 deletions packages/material-ui-icons/legacy/LocationOnOutlined.js

This file was deleted.

6 changes: 0 additions & 6 deletions packages/material-ui-icons/legacy/LocationOnRounded.js

This file was deleted.

6 changes: 0 additions & 6 deletions packages/material-ui-icons/legacy/LocationOnSharp.js

This file was deleted.

6 changes: 0 additions & 6 deletions packages/material-ui-icons/legacy/LocationOnTwoTone.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AcUnit.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AcUnitOutlined.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AcUnitRounded.js

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

2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AcUnitSharp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AcUnitTwoTone.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessAlarm.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessAlarmOutlined.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessAlarmRounded.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessAlarmSharp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessAlarmTwoTone.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessAlarms.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessAlarmsOutlined.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessAlarmsRounded.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessAlarmsSharp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessAlarmsTwoTone.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessTime.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessTimeOutlined.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessTimeRounded.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessTimeSharp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessTimeTwoTone.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/Accessibility.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibilityNew.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibilityNewOutlined.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibilityNewRounded.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibilityNewSharp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibilityNewTwoTone.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibilityOutlined.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibilityRounded.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibilitySharp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibilityTwoTone.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/Accessible.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibleForward.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibleForwardRounded.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibleForwardSharp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibleForwardTwoTone.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibleOutlined.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibleRounded.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibleSharp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/AccessibleTwoTone.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';

export default createSvgIcon(
Expand Down
Loading