index.d.ts 468 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
  defaultOpen: boolean;
  open: boolean;
7 8
  onSearch?: (value: string) => void;
  onChange?: (value: string) => void;
9
  onVisibleChange?: (visible: boolean) => void;
10
  onPressEnter?: (value: string) => void;
jim's avatar
jim committed
11
  style?: React.CSSProperties;
12
  className?: string;
13 14
}

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