Refactor createSvgIcon import for icons (#1694)

It fixes ts declarations resolution
This commit is contained in:
Bartłomiej Wiaduch 2022-02-18 10:27:55 +01:00 committed by GitHub
parent 190d2660c5
commit 80e8cb9221
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 51 additions and 51 deletions

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const AccountCircle = createSvgIcon( const AccountCircle = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const ArrowDropdown = createSvgIcon( const ArrowDropdown = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const ArrowSort = createSvgIcon( const ArrowSort = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Attributes = createSvgIcon( const Attributes = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Ballot = createSvgIcon( const Ballot = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const BoldIcon = createSvgIcon( const BoldIcon = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Bot = createSvgIcon( const Bot = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
export const Calendar = createSvgIcon( export const Calendar = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Channels = createSvgIcon( const Channels = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Checkbox = createSvgIcon( const Checkbox = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const CheckboxChecked = createSvgIcon( const CheckboxChecked = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const CheckboxIndeterminate = createSvgIcon( const CheckboxIndeterminate = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const CheckboxSemiChecked = createSvgIcon( const CheckboxSemiChecked = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const ChevronUp = createSvgIcon( const ChevronUp = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Draggable = createSvgIcon( const Draggable = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const ErrorExclamationCircle = createSvgIcon( const ErrorExclamationCircle = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Folder = createSvgIcon( const Folder = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const HeaderOne = createSvgIcon( const HeaderOne = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const HeaderThree = createSvgIcon( const HeaderThree = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const HeaderTwo = createSvgIcon( const HeaderTwo = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Home = createSvgIcon( const Home = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Image = createSvgIcon( const Image = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const ItalicIcon = createSvgIcon( const ItalicIcon = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const LinkIcon = createSvgIcon( const LinkIcon = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const LocalShipping = createSvgIcon( const LocalShipping = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Monetization = createSvgIcon( const Monetization = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Moon = createSvgIcon( const Moon = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Navigation = createSvgIcon( const Navigation = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const NoPhoto = createSvgIcon( const NoPhoto = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const OrderedListIcon = createSvgIcon( const OrderedListIcon = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Orders = createSvgIcon( const Orders = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const PageTypes = createSvgIcon( const PageTypes = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Pages = createSvgIcon( const Pages = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const PermissionGroups = createSvgIcon( const PermissionGroups = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Plugins = createSvgIcon( const Plugins = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const ProductTypes = createSvgIcon( const ProductTypes = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const QuotationIcon = createSvgIcon( const QuotationIcon = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Sales = createSvgIcon( const Sales = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const ShippingMethods = createSvgIcon( const ShippingMethods = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Shop = createSvgIcon( const Shop = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const SiteSettings = createSvgIcon( const SiteSettings = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const StaffMembers = createSvgIcon( const StaffMembers = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const StoreMall = createSvgIcon( const StoreMall = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Sun = createSvgIcon( const Sun = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Taxes = createSvgIcon( const Taxes = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import { useTheme } from "@saleor/macaw-ui"; import { useTheme } from "@saleor/macaw-ui";
import React from "react"; import React from "react";

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Truck = createSvgIcon( const Truck = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const UnorderedListIcon = createSvgIcon( const UnorderedListIcon = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Unstyled = createSvgIcon( const Unstyled = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Warehouses = createSvgIcon( const Warehouses = createSvgIcon(

View file

@ -1,4 +1,4 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon"; import { createSvgIcon } from "@material-ui/core/utils";
import React from "react"; import React from "react";
const Webhooks = createSvgIcon( const Webhooks = createSvgIcon(