From 853f3e3e0c75e76bd4669b9ab477ac40cf27fa3b Mon Sep 17 00:00:00 2001 From: Alexandre Asselin Date: Wed, 13 Nov 2024 10:25:54 -0500 Subject: [PATCH] remove unused file --- .../src/icons/docs/IndexFileUsage.mdx | 25 ------------------- .../src/icons/docs/assets/AzureIcon.tsx | 10 -------- .../src/icons/docs/assets/FilterIcon.tsx | 10 -------- .../components/src/icons/docs/assets/index.ts | 2 -- 4 files changed, 47 deletions(-) delete mode 100644 packages/components/src/icons/docs/IndexFileUsage.mdx delete mode 100644 packages/components/src/icons/docs/assets/AzureIcon.tsx delete mode 100644 packages/components/src/icons/docs/assets/FilterIcon.tsx delete mode 100644 packages/components/src/icons/docs/assets/index.ts diff --git a/packages/components/src/icons/docs/IndexFileUsage.mdx b/packages/components/src/icons/docs/IndexFileUsage.mdx deleted file mode 100644 index 0137dfb66..000000000 --- a/packages/components/src/icons/docs/IndexFileUsage.mdx +++ /dev/null @@ -1,25 +0,0 @@ -
- We recommend exporting your icons from index.js files - - ```jsx - // assets/index.js - - import { createIcon } from "@workleap/orbiter-ui"; - import { ReactComponent as Azure } from "./icon-azure.svg"; - import { ReactComponent as Filter } from "./icon-filter.svg"; - - export const AzureMajorIcon = createIcon(Azure); - export const FilterMajorIcon = createIcon(Filter); - ``` - - ```jsx - import { AzureMajorIcon, FilterMajorIcon } from "./assets/index.ts"; - - () => ( - <> - - - - ); - ``` -
diff --git a/packages/components/src/icons/docs/assets/AzureIcon.tsx b/packages/components/src/icons/docs/assets/AzureIcon.tsx deleted file mode 100644 index ba02a3ed3..000000000 --- a/packages/components/src/icons/docs/assets/AzureIcon.tsx +++ /dev/null @@ -1,10 +0,0 @@ -/* -* THIS FILE IS GENERATED. DO NOT EDIT IT. -*/ - -/* eslint-disable */ -import { SVGProps, Ref, forwardRef } from "react"; -const InnerAzureIcon = (props: SVGProps, ref: Ref) => ; -const ForwardRef = forwardRef(InnerAzureIcon); -export { ForwardRef as ReactComponent }; -/* eslint-enable */ diff --git a/packages/components/src/icons/docs/assets/FilterIcon.tsx b/packages/components/src/icons/docs/assets/FilterIcon.tsx deleted file mode 100644 index 59105f12b..000000000 --- a/packages/components/src/icons/docs/assets/FilterIcon.tsx +++ /dev/null @@ -1,10 +0,0 @@ -/* -* THIS FILE IS GENERATED. DO NOT EDIT IT. -*/ - -/* eslint-disable */ -import { SVGProps, Ref, forwardRef } from "react"; -const InnerFilterIcon = (props: SVGProps, ref: Ref) => ; -const ForwardRef = forwardRef(InnerFilterIcon); -export { ForwardRef as ReactComponent }; -/* eslint-enable */ diff --git a/packages/components/src/icons/docs/assets/index.ts b/packages/components/src/icons/docs/assets/index.ts deleted file mode 100644 index 0fe82d01e..000000000 --- a/packages/components/src/icons/docs/assets/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { ReactComponent as AzureIcon } from "./AzureIcon.tsx"; -export { ReactComponent as FilterMajorIcon } from "./FilterIcon.tsx";