UNPKG

1 kBTypeScriptView Raw
1import React from 'react';
2type DeterministicIdProviderValue = Map<string, number>;
3type 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 */
18declare const DeterministicIdContextProvider: ({ children, instanceCounterMap }: DeterministicIdProviderProps) => React.JSX.Element;
19export { DeterministicIdContextProvider };
20export type { DeterministicIdProviderValue };
21//# sourceMappingURL=DeterministicIdContextProvider.d.ts.map
\No newline at end of file