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