diff --git a/src/components/HeaderSearch/index.d.ts b/src/components/HeaderSearch/index.d.ts index 278791437b47c61b99501b9f0374aee58374dd38..d78fde471ccd522d821f77b790647f5620efdb7e 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;