Refactor createSvgIcon import for icons (#1694)
It fixes ts declarations resolution
This commit is contained in:
parent
190d2660c5
commit
80e8cb9221
51 changed files with 51 additions and 51 deletions
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const AccountCircle = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const ArrowDropdown = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const ArrowSort = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Attributes = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Ballot = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const BoldIcon = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Bot = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
export const Calendar = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Channels = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Checkbox = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const CheckboxChecked = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const CheckboxIndeterminate = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const CheckboxSemiChecked = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const ChevronUp = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Draggable = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const ErrorExclamationCircle = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Folder = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const HeaderOne = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const HeaderThree = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const HeaderTwo = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Home = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Image = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const ItalicIcon = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const LinkIcon = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const LocalShipping = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Monetization = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Moon = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Navigation = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const NoPhoto = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const OrderedListIcon = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Orders = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const PageTypes = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Pages = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const PermissionGroups = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Plugins = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const ProductTypes = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const QuotationIcon = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Sales = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const ShippingMethods = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Shop = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const SiteSettings = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const StaffMembers = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const StoreMall = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Sun = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Taxes = createSvgIcon(
|
||||
|
|
|
@ -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 React from "react";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Truck = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const UnorderedListIcon = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Unstyled = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Warehouses = createSvgIcon(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
|
||||
import { createSvgIcon } from "@material-ui/core/utils";
|
||||
import React from "react";
|
||||
|
||||
const Webhooks = createSvgIcon(
|
||||
|
|
Loading…
Reference in a new issue