@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
26 lines (25 loc) • 662 B
text/typescript
import { InputProps } from "../Input/type.mjs";
import "../Input/index.mjs";
import { CSSProperties } from "react";
//#region src/SearchBar/type.d.ts
interface SearchBarProps extends Omit<InputProps, 'styles' | 'classNames'> {
classNames?: {
input?: string;
shortKey?: string;
};
defaultValue?: string;
enableShortKey?: boolean;
loading?: boolean;
onInputChange?: (value: string) => void;
onSearch?: (value: string) => void;
shortKey?: string;
spotlight?: boolean;
styles?: {
input?: CSSProperties;
shortKey?: CSSProperties;
};
value?: string;
}
//#endregion
export { SearchBarProps };
//# sourceMappingURL=type.d.mts.map