Commit 5e1cee9a authored by 日落's avatar 日落 Committed by 陈帅

修复HeaderSearch中defaultOpen、open参数指定问题 (#2581)

parent 184834b3
...@@ -2,8 +2,8 @@ import * as React from 'react'; ...@@ -2,8 +2,8 @@ import * as React from 'react';
export interface IHeaderSearchProps { export interface IHeaderSearchProps {
placeholder?: string; placeholder?: string;
dataSource?: string[]; dataSource?: string[];
defaultOpen: boolean; defaultOpen?: boolean;
open: boolean; open?: boolean;
onSearch?: (value: string) => void; onSearch?: (value: string) => void;
onChange?: (value: string) => void; onChange?: (value: string) => void;
onVisibleChange?: (visible: boolean) => void; onVisibleChange?: (visible: boolean) => void;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment