tdesign-mobile-vue
Version:
tdesign-mobile-vue
75 lines (74 loc) • 2.1 kB
TypeScript
import { TdSearchProps } from './type';
import { PropType } from 'vue';
declare const _default: {
action: {
type: PropType<TdSearchProps['action']>;
default: TdSearchProps['action'];
};
autocompleteOptions: {
type: PropType<TdSearchProps['autocompleteOptions']>;
};
center: BooleanConstructor;
clearTrigger: {
type: PropType<TdSearchProps['clearTrigger']>;
default: TdSearchProps['clearTrigger'];
validator(val: TdSearchProps['clearTrigger']): boolean;
};
clearable: {
type: BooleanConstructor;
default: boolean;
};
cursorColor: {
type: StringConstructor;
default: string;
};
disabled: BooleanConstructor;
focus: BooleanConstructor;
leftIcon: {
type: PropType<TdSearchProps['leftIcon']>;
default: TdSearchProps['leftIcon'];
};
maxcharacter: {
type: NumberConstructor;
};
maxlength: {
type: PropType<TdSearchProps['maxlength']>;
};
placeholder: {
type: StringConstructor;
default: string;
};
readonly: {
type: BooleanConstructor;
default: any;
};
resultList: {
type: PropType<TdSearchProps['resultList']>;
default: () => TdSearchProps['resultList'];
};
shape: {
type: PropType<TdSearchProps['shape']>;
default: TdSearchProps['shape'];
validator(val: TdSearchProps['shape']): boolean;
};
value: {
type: StringConstructor;
default: any;
};
modelValue: {
type: StringConstructor;
default: any;
};
defaultValue: {
type: StringConstructor;
default: string;
};
onActionClick: PropType<TdSearchProps['onActionClick']>;
onBlur: PropType<TdSearchProps['onBlur']>;
onChange: PropType<TdSearchProps['onChange']>;
onClear: PropType<TdSearchProps['onClear']>;
onFocus: PropType<TdSearchProps['onFocus']>;
onSearch: PropType<TdSearchProps['onSearch']>;
onSubmit: PropType<TdSearchProps['onSubmit']>;
};
export default _default;