@muraldevkit/ui-toolkit 2.39.0 → 2.39.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type MrlMenuContext = {
|
|
3
|
+
/**
|
|
4
|
+
* Close menu is shared in context to allow for closing the menu from a child component
|
|
5
|
+
*
|
|
6
|
+
* @returns {void}
|
|
7
|
+
*/
|
|
8
|
+
closeMenu: () => void;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Adds context for the MrlMenu component
|
|
12
|
+
*/
|
|
13
|
+
export declare const MrlMenuContext: React.Context<MrlMenuContext | undefined>;
|
|
14
|
+
export {};
|