@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
17 lines (16 loc) • 604 B
TypeScript
/// <reference types="react" />
import { type ActionIconProps } from "../ActionIcon";
import { type InputProps } from "../Input";
export interface ControlInputProps extends Omit<InputProps, 'onChange' | 'value' | 'onAbort'> {
onChange?: (value: string) => void;
onChangeEnd?: (value: string) => void;
onValueChanging?: (value: string) => void;
submitIcon?: ActionIconProps['icon'];
texts?: {
reset?: string;
submit?: string;
};
value?: string;
}
declare const ControlInput: import("react").NamedExoticComponent<ControlInputProps>;
export default ControlInput;