@oiij/naive-ui
Version:
Som Composable Functions And Components for Vue 3
14 lines (13 loc) • 474 B
TypeScript
import { ButtonProps, InputProps } from 'naive-ui';
import { ClassStyle } from '../data-table-plus';
export { default as NSearchInput } from './SearchInput.vue';
export type SearchInputProps = {
value?: string | null;
type?: ButtonProps['type'];
placeholder?: string;
loading?: boolean;
autoTrigger?: boolean | number;
searchButton?: 'text' | 'icon' | boolean;
inputProps?: InputProps & ClassStyle;
buttonProps?: ButtonProps & ClassStyle;
};