From 5e1cee9a6ae4c43a6a4f2c3e8fb985d953c3fca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=A5=E8=90=BD?= Date: Wed, 17 Oct 2018 10:05:43 +0800 Subject: [PATCH] =?UTF-8?q?=20=E4=BF=AE=E5=A4=8DHeaderSearch=E4=B8=ADdefau?= =?UTF-8?q?ltOpen=E3=80=81open=E5=8F=82=E6=95=B0=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20(#2581)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HeaderSearch/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/HeaderSearch/index.d.ts b/src/components/HeaderSearch/index.d.ts index 27879143..d78fde47 100644 --- a/src/components/HeaderSearch/index.d.ts +++ b/src/components/HeaderSearch/index.d.ts @@ -2,8 +2,8 @@ import * as React from 'react'; export interface IHeaderSearchProps { placeholder?: string; dataSource?: string[]; - defaultOpen: boolean; - open: boolean; + defaultOpen?: boolean; + open?: boolean; onSearch?: (value: string) => void; onChange?: (value: string) => void; onVisibleChange?: (visible: boolean) => void; -- GitLab