diff --git a/packages/plugins/@hera/plugin-core/src/client/schema-initializer/NoticeBlockInitializer.tsx b/packages/plugins/@hera/plugin-core/src/client/schema-initializer/NoticeBlockInitializer.tsx index f4b96f7cf..fa67805d4 100644 --- a/packages/plugins/@hera/plugin-core/src/client/schema-initializer/NoticeBlockInitializer.tsx +++ b/packages/plugins/@hera/plugin-core/src/client/schema-initializer/NoticeBlockInitializer.tsx @@ -1,6 +1,6 @@ -import Icon from '@ant-design/icons'; import { ISchema } from '@formily/react'; import { + Icon, DataBlockInitializer, useCollectionManager, useSchemaInitializer, @@ -19,7 +19,7 @@ const NoticeSvg = () => ( ); -const NoticeIcon = (props: Partial) => ; +const NoticeIcon = (props: any) => ; export const NoticeBlock = () => { return ; diff --git a/packages/plugins/@hera/plugin-core/src/client/schema-initializer/SwiperBlockInitializer.tsx b/packages/plugins/@hera/plugin-core/src/client/schema-initializer/SwiperBlockInitializer.tsx index 611b105fa..34c941f44 100644 --- a/packages/plugins/@hera/plugin-core/src/client/schema-initializer/SwiperBlockInitializer.tsx +++ b/packages/plugins/@hera/plugin-core/src/client/schema-initializer/SwiperBlockInitializer.tsx @@ -1,8 +1,8 @@ -import Icon from '@ant-design/icons'; import { ISchema } from '@formily/react'; import { DataBlockInitializer, css, + Icon, useCollectionManager, useSchemaInitializer, useSchemaInitializerItem, @@ -17,7 +17,7 @@ const SwiperSvg = () => ( ); -const SwiperIcon = (props: Partial) => ; +const SwiperIcon = (props: any) => ; export const SwiperBlock = () => { const colors = ['#ace0ff', '#bcffbd', '#e4fabd', '#ffcfac']; @@ -72,7 +72,7 @@ export const SwiperBlockInitializer = () => { ); }; -export const createGridCardBlockSchema = (options) => { +const createGridCardBlockSchema = (options) => { const { formItemInitializers = 'ReadPrettyFormItemInitializers', actionInitializers = 'GridCardActionInitializers', diff --git a/packages/plugins/@hera/plugin-core/src/client/schema-initializer/TabSearchBlockInitializer.tsx b/packages/plugins/@hera/plugin-core/src/client/schema-initializer/TabSearchBlockInitializer.tsx index 6f2332e74..4e5e87b0c 100644 --- a/packages/plugins/@hera/plugin-core/src/client/schema-initializer/TabSearchBlockInitializer.tsx +++ b/packages/plugins/@hera/plugin-core/src/client/schema-initializer/TabSearchBlockInitializer.tsx @@ -1,7 +1,7 @@ -import Icon from '@ant-design/icons'; import { ISchema } from '@formily/react'; import { DataBlockInitializer, + Icon, css, useCollectionManager, useSchemaInitializer, @@ -19,7 +19,7 @@ const TabSearchSvg = () => ( ); -const TabSearchIcon = (props: Partial) => ; +const TabSearchIcon = (props: any) => ; export const TabSearchBlock = () => { const [visible, setVisible] = useState(false);