index.d.ts 366 Bytes
Newer Older
jim's avatar
jim committed
1
import * as React from 'react';
2 3 4 5 6 7
export interface HeaderSearchProps {
  placeholder?: string;
  dataSource?: Array<string>;
  onSearch?: (value: string) => void;
  onChange?: (value: string) => void;
  onPressEnter?: (value: string) => void;
jim's avatar
jim committed
8
  style?: React.CSSProperties;
9 10 11 12 13 14
}

export default class HeaderSearch extends React.Component<
  HeaderSearchProps,
  any
> {}