shineout
Version:
Shein 前端组件库
23 lines (22 loc) • 743 B
TypeScript
/// <reference types="node" />
import React, { Component } from 'react';
import { InputProps } from './Props';
declare class FilterInput extends Component<InputProps> {
static defaultProps: {
text: string;
updatAble: boolean;
};
editElement: HTMLSpanElement;
blurTimer: NodeJS.Timer;
handleBlur: React.FocusEventHandler<HTMLSpanElement> | undefined;
constructor(props: InputProps);
componentDidMount(): void;
shouldComponentUpdate(): boolean;
componentDidUpdate(prevProps: InputProps): void;
reset(): void;
focus(): void;
bindElement(el: HTMLSpanElement): void;
handleInput(e: React.FormEvent<HTMLSpanElement>): void;
render(): JSX.Element;
}
export default FilterInput;