diff --git a/packages/MdEditor/components/Icon/Icon.tsx b/packages/MdEditor/components/Icon/Icon.tsx index 1c46e7da..afc1f226 100644 --- a/packages/MdEditor/components/Icon/Icon.tsx +++ b/packages/MdEditor/components/Icon/Icon.tsx @@ -1,7 +1,6 @@ import { Bold, ChartArea, - CircleChevronDown, Code, Expand, Eye, @@ -71,8 +70,7 @@ export type IconName = | 'formula' | 'close' | 'delete' - | 'upload' - | 'collapse-tips'; + | 'upload'; const iconMaps: { [key in IconName]: Component } = { bold: Bold, @@ -108,8 +106,7 @@ const iconMaps: { [key in IconName]: Component } = { formula: SquareSigma, close: X, delete: Trash2, - upload: Upload, - 'collapse-tips': CircleChevronDown + upload: Upload }; export default defineComponent({ diff --git a/packages/MdEditor/type.ts b/packages/MdEditor/type.ts index 983259f9..2ab37535 100644 --- a/packages/MdEditor/type.ts +++ b/packages/MdEditor/type.ts @@ -568,4 +568,5 @@ export type CustomIcon = { }; } & { copy?: string; + 'collapse-tips'?: string; };