From e7b919c8fe9bd1baf504a65589c5a5a570d85dce Mon Sep 17 00:00:00 2001 From: Wojciech Mista Date: Tue, 24 Sep 2024 09:21:17 +0200 Subject: [PATCH] Dashboard and Graphql icons (#859) --- .changeset/twenty-days-punch.md | 5 +++++ src/components/Icons/DashboardIcon.tsx | 26 ++++++++++++++++++++++++ src/components/Icons/GraphQLIcon.tsx | 28 ++++++++++++++++++++++++++ src/components/Icons/index.ts | 2 ++ 4 files changed, 61 insertions(+) create mode 100644 .changeset/twenty-days-punch.md create mode 100644 src/components/Icons/DashboardIcon.tsx create mode 100644 src/components/Icons/GraphQLIcon.tsx diff --git a/.changeset/twenty-days-punch.md b/.changeset/twenty-days-punch.md new file mode 100644 index 00000000..51a11b84 --- /dev/null +++ b/.changeset/twenty-days-punch.md @@ -0,0 +1,5 @@ +--- +"@saleor/macaw-ui": patch +--- + +Macaw-ui now exports Dashboard and GraphQL icons. diff --git a/src/components/Icons/DashboardIcon.tsx b/src/components/Icons/DashboardIcon.tsx new file mode 100644 index 00000000..82144ecc --- /dev/null +++ b/src/components/Icons/DashboardIcon.tsx @@ -0,0 +1,26 @@ +import { createSVGWrapper } from "./SVGWrapper"; + +export const DashboardIcon = createSVGWrapper( + <> + + + + + +); diff --git a/src/components/Icons/GraphQLIcon.tsx b/src/components/Icons/GraphQLIcon.tsx new file mode 100644 index 00000000..e14befe5 --- /dev/null +++ b/src/components/Icons/GraphQLIcon.tsx @@ -0,0 +1,28 @@ +import { createSVGWrapper } from "./SVGWrapper"; + +export const GraphQLIcon = createSVGWrapper( + <> + + + + + + + + +); diff --git a/src/components/Icons/index.ts b/src/components/Icons/index.ts index d688dd7a..5f45f65c 100644 --- a/src/components/Icons/index.ts +++ b/src/components/Icons/index.ts @@ -14,6 +14,7 @@ export * from "./ConfigurationIcon"; export * from "./CopyIcon"; export * from "./CustomersIcon"; export * from "./DarkModeIcon"; +export * from "./DashboardIcon"; export * from "./EditIcon"; export * from "./EnvironmentIcon"; export * from "./ExportIcon"; @@ -23,6 +24,7 @@ export * from "./FloppyDiscIcon"; export * from "./FullscreenOffIcon"; export * from "./FullscreenOnIcon"; export * from "./GenericAppIcon"; +export * from "./GraphQLIcon"; export * from "./GripIcon"; export * from "./HelpIcon"; export * from "./HomeIcon";