refactor: reorganize all components (#8303)
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import { defineComponent } from 'vue';
|
||||
import { createNamespace, addUnit } from '../utils';
|
||||
import { BORDER_LEFT, BORDER_SURROUND } from '../utils/constant';
|
||||
|
||||
const [createComponent, bem] = createNamespace('password-input');
|
||||
const [name, bem] = createNamespace('password-input');
|
||||
|
||||
export default defineComponent({
|
||||
name,
|
||||
|
||||
export default createComponent({
|
||||
props: {
|
||||
info: String,
|
||||
gutter: [Number, String],
|
||||
@@ -0,0 +1,7 @@
|
||||
import { installable } from '../utils';
|
||||
import _PasswordInput from './PasswordInput';
|
||||
|
||||
const PasswordInput = installable(_PasswordInput);
|
||||
|
||||
export default PasswordInput;
|
||||
export { PasswordInput };
|
||||
Reference in New Issue
Block a user