index.d.ts 330 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
import 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
> {}