UNPKG

702 BTypeScriptView Raw
1import type { ComponentPublicInstance } from 'vue';
2import type { SearchProps } from './Search';
3export type SearchShape = 'square' | 'round';
4export type SearchExpose = {
5 focus: () => void;
6 blur: () => void;
7};
8export type SearchInstance = ComponentPublicInstance<SearchProps, SearchExpose>;
9export type SearchThemeVars = {
10 searchPadding?: string;
11 searchBackground?: string;
12 searchContentBackground?: string;
13 searchInputHeight?: string;
14 searchLabelPadding?: string;
15 searchLabelColor?: string;
16 searchLabelFontSize?: string;
17 searchLeftIconColor?: string;
18 searchActionPadding?: string;
19 searchActionTextColor?: string;
20 searchActionFontSize?: string;
21};