refactor: reorganize all components (#8303)

This commit is contained in:
neverland
2021-03-08 11:50:37 +08:00
committed by GitHub
parent 3144a63d2b
commit e540876398
193 changed files with 1307 additions and 400 deletions
@@ -1,4 +1,4 @@
import { PropType } from 'vue';
import { PropType, defineComponent } from 'vue';
// Utils
import { createNamespace, pick } from '../utils';
@@ -40,9 +40,11 @@ function getIconURL(icon: string) {
return icon;
}
const [createComponent, bem, t] = createNamespace('share-sheet');
const [name, bem, t] = createNamespace('share-sheet');
export default defineComponent({
name,
export default createComponent({
props: {
...popupSharedProps,
title: String,
+8
View File
@@ -0,0 +1,8 @@
import { installable } from '../utils';
import _ShareSheet from './ShareSheet';
const ShareSheet = installable(_ShareSheet);
export default ShareSheet;
export { ShareSheet };
export type { ShareSheetOption, ShareSheetOptions } from './ShareSheet';