UNPKG

cloudkitty

Version:
20 lines (19 loc) 491 B
/// <reference types="react" /> declare global { const CloudKit: any; } export interface CloudKittyConfigure { token: string; environment: string; containerIdentifier: string; children: any; } export interface CloudKittyContextValue { user: any; container: any; loading: boolean; error: any; } declare const Provider: (config: CloudKittyConfigure) => JSX.Element; export declare const useCloudKitty: () => CloudKittyContextValue; export default Provider;