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

export default class HeaderSearch extends React.Component<
jim's avatar
jim committed
12
  IHeaderSearchProps,
13 14
  any
> {}