index.d.ts 463 Bytes
Newer Older
陈小聪's avatar
陈小聪 committed
1 2
import React from 'react';
export interface HeaderSearchProps {
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
}

陈小聪's avatar
陈小聪 committed
15
export default class HeaderSearch extends React.Component<HeaderSearchProps, any> {}