1 | import * as React from 'react';
|
2 | import { ListContextValue } from '../useList/ListContext';
|
3 | import { MenuItemMetadata } from '../useMenuItem';
|
4 | import { CompoundComponentContextValue } from '../useCompound';
|
5 | export type MenuProviderValue = CompoundComponentContextValue<string, MenuItemMetadata> & ListContextValue<string>;
|
6 | export interface MenuProviderProps {
|
7 | value: MenuProviderValue;
|
8 | children: React.ReactNode;
|
9 | }
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export declare function MenuProvider(props: MenuProviderProps): React.JSX.Element;
|