Skip to content
Client
Server

Reference / @open-music-sdk/react / tMusicProviderProps

Interface: tMusicProviderProps ​

Defined in: integrations/react/src/client.ts:35

What MusicProvider takes.

Properties ​

children? ​

ts
readonly optional children?: ReactNode;

Defined in: integrations/react/src/client.ts:39

The tree the hooks are used in.


music ​

ts
readonly music: tBrowserMusic;

Defined in: integrations/react/src/client.ts:37

The client from createBrowserClient, made once, outside the tree.

MIT licensed. Not affiliated with, endorsed by, or sponsored by Apple Inc. Apple Music and MusicKit are trademarks of Apple Inc.