antd
Version:
An enterprise-class UI design language and React-based implementation
18 lines (17 loc) • 498 B
TypeScript
/// <reference types="react" />
import React from 'react';
export interface SearchProps {
prefixCls?: string;
placeholder?: string;
onChange?: (e: React.FormEvent<any>) => void;
handleClear?: (e: React.MouseEvent<any>) => void;
value?: any;
}
export default class Search extends React.Component<SearchProps, any> {
static defaultProps: {
placeholder: string;
};
handleChange: (e: any) => void;
handleClear: (e: any) => void;
render(): JSX.Element;
}