index.d.ts 335 Bytes
Newer Older
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
1
import * as React from "react";
2 3 4 5 6 7 8 9 10 11 12 13
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
> {}