Skip to content

Commit

Permalink
[core] Migrate to import * as React from 'react' (mui#19802)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound authored and EsoterikStare committed Mar 30, 2020
1 parent 4380774 commit 4b25dcd
Show file tree
Hide file tree
Showing 5,767 changed files with 5,876 additions and 5,866 deletions.
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

0 comments on commit 4b25dcd

Please sign in to comment.