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';