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
+5 -3
View File
@@ -1,13 +1,15 @@
import { PropType } from 'vue';
import { PropType, defineComponent } from 'vue';
import { createNamespace, UnknownProp } from '../utils';
import Popup from '../popup';
import { popupSharedProps } from '../popup/shared';
const [createComponent, bem] = createNamespace('notify');
const [name, bem] = createNamespace('notify');
export type NotifyType = 'primary' | 'success' | 'danger' | 'warning';
export default createComponent({
export default defineComponent({
name,
props: {
...popupSharedProps,
color: String,