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