UNPKG

vant

Version:

Mobile UI Components built on Vue

22 lines (21 loc) 702 B
import type { ComponentPublicInstance } from 'vue'; import type { SearchProps } from './Search'; export type SearchShape = 'square' | 'round'; export type SearchExpose = { focus: () => void; blur: () => void; }; export type SearchInstance = ComponentPublicInstance<SearchProps, SearchExpose>; export type SearchThemeVars = { searchPadding?: string; searchBackground?: string; searchContentBackground?: string; searchInputHeight?: string; searchLabelPadding?: string; searchLabelColor?: string; searchLabelFontSize?: string; searchLeftIconColor?: string; searchActionPadding?: string; searchActionTextColor?: string; searchActionFontSize?: string; };