refactor(Popup): remove popup mixin

This commit is contained in:
chenjiahan
2020-08-19 18:05:52 +08:00
parent b6b6e38c45
commit 1ad76a8aa3
7 changed files with 207 additions and 245 deletions
+2 -5
View File
@@ -1,19 +1,16 @@
// Utils
import { createNamespace } from '../utils';
// Mixins
import { popupMixinProps } from '../mixins/popup';
// Components
import Icon from '../icon';
import Popup from '../popup';
import Popup, { popupSharedProps } from '../popup';
import Loading from '../loading';
const [createComponent, bem] = createNamespace('action-sheet');
export default createComponent({
props: {
...popupMixinProps,
...popupSharedProps,
title: String,
actions: Array,
duration: [Number, String],