1 | import React from 'react';
|
2 | type DeterministicIdProviderValue = Map<string, number>;
|
3 | type DeterministicIdProviderProps = React.PropsWithChildren<{
|
4 | instanceCounterMap?: DeterministicIdProviderValue;
|
5 | }>;
|
6 | /**
|
7 | * ---
|
8 | * category: components/utilities
|
9 | * ---
|
10 | * WARNING: providing the `instanceCounterMap` prop will result in unexpected behaviour. DO NOT USE IT!
|
11 | *
|
12 | * DEPRECATED: the `instanceCounterMap` prop is deprecated. You don't need to supply the
|
13 | * `instanceCounterMap` to the component. It handles it internally.
|
14 | *
|
15 | * This is utility component for wrapping components with `DeterministicIdContext.Provider`
|
16 | * See detailed documentation about how to use it: [InstUISettingsProvider](/#InstUISettingsProvider)
|
17 | */
|
18 | declare const DeterministicIdContextProvider: ({ children, instanceCounterMap }: DeterministicIdProviderProps) => React.JSX.Element;
|
19 | export { DeterministicIdContextProvider };
|
20 | export type { DeterministicIdProviderValue };
|
21 | //# sourceMappingURL=DeterministicIdContextProvider.d.ts.map |
\ | No newline at end of file |