chore: initial combolist component
This commit is contained in:
parent
a1795c265f
commit
4f3d67b2e3
|
@ -0,0 +1,12 @@
|
|||
import type { App } from 'vue';
|
||||
import FComboList from './src/combo-list.component';
|
||||
|
||||
export * from './src/combo-list.props';
|
||||
|
||||
export { FComboList };
|
||||
|
||||
export default {
|
||||
install(app: App): void {
|
||||
app.component(FComboList.name, FComboList);
|
||||
},
|
||||
};
|
|
@ -0,0 +1,7 @@
|
|||
import { defineComponent } from 'vue';
|
||||
import { comboListProps } from './combo-list.props';
|
||||
export default defineComponent({
|
||||
name: 'FComboList',
|
||||
props: comboListProps,
|
||||
emits: [],
|
||||
});
|
|
@ -0,0 +1,9 @@
|
|||
import { ExtractPropTypes } from "vue";
|
||||
|
||||
export const comboListProps = {
|
||||
/**
|
||||
* 组件标识
|
||||
*/
|
||||
id: String,
|
||||
};
|
||||
export type ButtonProps = ExtractPropTypes<typeof comboListProps>;
|
Loading…
Reference in New Issue