desmy-react
Version:
Introducing an easy-to-use, lightning-fast React.js component that streamlines your development process. Our solution prioritizes simplicity, speed, and optimization, making it a breeze to build projects in React.
19 lines (18 loc) • 497 B
TypeScript
import { default as React, Component } from 'react';
interface Props {
value: string;
placeholder?: string;
disabled?: boolean;
autoFocus?: boolean;
maxLength?: number;
inputClassName?: string;
label: string;
onFocus: () => void;
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
}
export declare class SearchInput extends Component<Props> {
private inputRef;
focus(): void;
render(): import("react/jsx-runtime").JSX.Element;
}
export {};