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";
|
import React from "react";
|
||||||
|
|
||||||
const AccountCircle = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const ArrowDropdown = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const ArrowSort = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Attributes = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Ballot = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const BoldIcon = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Bot = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
export const Calendar = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Channels = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Checkbox = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const CheckboxChecked = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const CheckboxIndeterminate = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const CheckboxSemiChecked = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const ChevronUp = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Draggable = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const ErrorExclamationCircle = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Folder = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const HeaderOne = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const HeaderThree = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const HeaderTwo = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Home = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Image = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const ItalicIcon = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const LinkIcon = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const LocalShipping = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Monetization = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Moon = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Navigation = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const NoPhoto = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const OrderedListIcon = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Orders = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const PageTypes = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Pages = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const PermissionGroups = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Plugins = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const ProductTypes = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const QuotationIcon = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Sales = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const ShippingMethods = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Shop = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const SiteSettings = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const StaffMembers = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const StoreMall = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Sun = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Taxes = createSvgIcon(
|
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 { useTheme } from "@saleor/macaw-ui";
|
||||||
import React from "react";
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Truck = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const UnorderedListIcon = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Unstyled = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Warehouses = createSvgIcon(
|
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";
|
import React from "react";
|
||||||
|
|
||||||
const Webhooks = createSvgIcon(
|
const Webhooks = createSvgIcon(
|
||||||
|
|
Loading…
Reference in a new issue