# CloudKitty

Hook and Context Provider that make it easy to interact with Apple CloudKit.

### Provider
```tsx
import CloudKittyProvider from "cloudkitty";

// ...


<CloudKittyProvider
	token={"<Your CloudKit Token>"}
	environment="development"
	containerIdentifier="Your Container Name"
>
	<App />
</CloudKittyProvider>
```

### Hook
```ts
import { useCloudKitty } from "cloudkitty";

// ...
const { loading, error, container, user } = useCloudKitty();
```
