- If you want to interact with the sync agent directly, you can use the
useSyncAgent
hook. - If you want to interact with the Towns Protocol using hooks provided by this SDK, you should wrap your App with this provider.
Imports
Definition
Parameters
props
- Type:
{ syncAgent?: SyncAgent; config?: { onTokenExpired?: () => void; }; children?: React.ReactNode; }