diff --git a/types/react-aria-menubutton/index.d.ts b/types/react-aria-menubutton/index.d.ts index 3bfc68259e..157fdff642 100644 --- a/types/react-aria-menubutton/index.d.ts +++ b/types/react-aria-menubutton/index.d.ts @@ -1,7 +1,8 @@ -// Type definitions for react-aria-menubutton 5.1 +// Type definitions for react-aria-menubutton 6.1 // Project: https://github.com/davidtheclark/react-aria-menubutton // Definitions by: Muhammad Fawwaz Orabi // Chris Rohlfs +// Mats Roshauw // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -33,6 +34,13 @@ export interface WrapperProps */ closeOnSelection?: boolean; + /** + * By default, it does automatically close. + * If false, the menu will not automatically close when it + * blurs. Default: `true`. + */ + closeOnBlur?: boolean; + isOpen?: boolean; tag?: T["tagName"];