index.d.ts 357 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
}

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