From b7f002bc42044af4e2ff05d00dcdb552fb3d7f58 Mon Sep 17 00:00:00 2001 From: sunhao Date: Mon, 4 Nov 2024 10:48:59 +0800 Subject: [PATCH] * picker: share picker components. --- lib/picker/src/component/share.ts | 4 ++++ lib/picker/src/main.ts | 1 + 2 files changed, 5 insertions(+) create mode 100644 lib/picker/src/component/share.ts diff --git a/lib/picker/src/component/share.ts b/lib/picker/src/component/share.ts new file mode 100644 index 0000000000..d18a36b878 --- /dev/null +++ b/lib/picker/src/component/share.ts @@ -0,0 +1,4 @@ +import {registerReactComponent} from '@zui/core'; +import * as components from './index'; + +registerReactComponent(components); diff --git a/lib/picker/src/main.ts b/lib/picker/src/main.ts index 8ee0c46e66..0c5634f184 100644 --- a/lib/picker/src/main.ts +++ b/lib/picker/src/main.ts @@ -1,4 +1,5 @@ import './style'; export * from './vanilla'; import './i18n'; +import './component/share'; export * from './types';