UNPKG

@atlaskit/renderer

Version:
9 lines (8 loc) 566 B
import React from 'react'; import type { Diff } from '@atlaskit/editor-common/utils'; export interface WithSmartCardStorageProps { smartCardStorage: Map<string, string>; } export declare const Context: React.Context<Map<string, string>>; export declare const Provider: ({ children, }: React.PropsWithChildren<unknown>) => React.JSX.Element; export declare const withSmartCardStorage: <Props extends WithSmartCardStorageProps>(WrappedComponent: React.ComponentType<React.PropsWithChildren<Props>>) => React.ComponentClass<Diff<Props, WithSmartCardStorageProps>>;