@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
12 lines (11 loc) • 394 B
TypeScript
import { Ref } from "vue";
import { Option } from '../combo-tree.props';
export interface UseDataSource {
dataSource: Ref<Option[]>;
displayText: Ref<string>;
editable: Ref<boolean>;
modelValue: Ref<string>;
getItemsByDisplayText: (text: string) => Option[];
getItemsByValue: (value: string) => Option[];
getSelectedItemsByDisplayText: (text: string) => Option[];
}