refactor: reorganize all components (#8303)
This commit is contained in:
@@ -1,10 +1,20 @@
|
||||
import { ref, watch, computed, nextTick, reactive, onMounted } from 'vue';
|
||||
import {
|
||||
ref,
|
||||
watch,
|
||||
computed,
|
||||
nextTick,
|
||||
reactive,
|
||||
onMounted,
|
||||
defineComponent,
|
||||
} from 'vue';
|
||||
import { createNamespace, addUnit } from '../utils';
|
||||
import { useExpose } from '../composables/use-expose';
|
||||
|
||||
const [createComponent, bem] = createNamespace('progress');
|
||||
const [name, bem] = createNamespace('progress');
|
||||
|
||||
export default defineComponent({
|
||||
name,
|
||||
|
||||
export default createComponent({
|
||||
props: {
|
||||
color: String,
|
||||
inactive: Boolean,
|
||||
@@ -0,0 +1,7 @@
|
||||
import { installable } from '../utils';
|
||||
import _Progress from './Progress';
|
||||
|
||||
const Progress = installable(_Progress);
|
||||
|
||||
export default Progress;
|
||||
export { Progress };
|
||||
Reference in New Issue
Block a user