refactor: reorganize all components (#8303)
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
import { PropType, CSSProperties } from 'vue';
|
||||
import { PropType, CSSProperties, defineComponent } from 'vue';
|
||||
import { createNamespace } from '../utils';
|
||||
|
||||
// Components
|
||||
import Icon from '../icon';
|
||||
import Button, { ButtonType } from '../button';
|
||||
|
||||
const [createComponent, bem, t] = createNamespace('submit-bar');
|
||||
const [name, bem, t] = createNamespace('submit-bar');
|
||||
|
||||
export default defineComponent({
|
||||
name,
|
||||
|
||||
export default createComponent({
|
||||
props: {
|
||||
tip: String,
|
||||
label: String,
|
||||
@@ -0,0 +1,7 @@
|
||||
import { installable } from '../utils';
|
||||
import _SubmitBar from './SubmitBar';
|
||||
|
||||
const SubmitBar = installable(_SubmitBar);
|
||||
|
||||
export default SubmitBar;
|
||||
export { SubmitBar };
|
||||
Reference in New Issue
Block a user