index.d.ts
335 Bytes
import * as React from "react";
export interface HeaderSearchProps {
placeholder?: string;
dataSource?: Array<string>;
onSearch?: (value: string) => void;
onChange?: (value: string) => void;
onPressEnter?: (value: string) => void;
}
export default class HeaderSearch extends React.Component<
HeaderSearchProps,
any
> {}