chore: initial combolist component

This commit is contained in:
夏江龙 2022-10-03 10:24:43 +08:00
parent c5d4ebdc29
commit ab7a53d9d8
3 changed files with 28 additions and 0 deletions

View File

@ -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);
},
};

View File

@ -0,0 +1,7 @@
import { defineComponent } from 'vue';
import { comboListProps } from './combo-list.props';
export default defineComponent({
name: 'FComboList',
props: comboListProps,
emits: [],
});

View File

@ -0,0 +1,9 @@
import { ExtractPropTypes } from "vue";
export const comboListProps = {
/**
*
*/
id: String,
};
export type ButtonProps = ExtractPropTypes<typeof comboListProps>;