UNPKG

@appbaseio/reactivesearch-vue

Version:

A Vue UI components library for building search experiences

49 lines (45 loc) 1.4 kB
import { VNode } from 'vue'; import type { CommonProps } from '../../index'; import * as types from '../../types.ts'; export interface TreeListProps extends CommonProps { componentId: string; className?: string; style?: types.style; showRadio?: boolean; showCheckbox?: boolean; mode: 'single' | 'multiple'; showCount?: boolean; showSearch?: boolean; showIcon?: boolean; icon?: types.children; showLeafIcon?: boolean; leafIcon?: types.children; showLine?: boolean; showSwitcherIcon?: boolean; switcherIcon?: (expanded: boolean) => types.children; render?: (data: any) => VNode[]; renderItem?: (item: any, count?: number, isSelected?: boolean) => any; dataField: types.stringArray; showFilter?: boolean; index?: string; onValueChange?: (...args: any[]) => any; onChange?: (...args: any[]) => any; onError?: (...args: any[]) => any; defaultValue?: types.stringArray; value?: types.stringArray; beforeValueChange?: (...args: any[]) => any; customQuery?: (...args: any[]) => any; defaultQuery?: (...args: any[]) => any; endpoint?: types.endpointConfig; title?: types.title; queryFormat?: types.queryFormatSearch; sortBy?: types.sortByWithCount; size?: number; nestedField?: string; URLParams?: boolean; innerClass?: types.style; placeholder?: string; react?: types.react; } declare function TreeList(props: TreeListProps): JSX.Element; export default TreeList;