Huddle01 Client SDK
![https://huddle01-assets-frontend.s3.amazonaws.com/general/huddle01-logo-blue.svg](https://huddle01-assets-frontend.s3.amazonaws.com/general/huddle01-logo-blue.svg)
Web3-Native Zoom for Builders/DAOs/NFT Communities
NOTE: Request for access to the huddle01-client pkg on Huddle01's discord or reach out to the team.
Quick Start
Install the huddle01-client
pkg from npm or yarn
Installation
npm i @huddle01/huddle01-client
yarn add @huddle01/huddle01-client
Import
import
HuddleClientProvider
and getHuddleClient
from the npm pkg
import {
HuddleClientProvider,
getHuddleClient,
} from '@huddle01/huddle01-client';
Configure
Configure huddleClient
const huddleClient = getHuddleClient();
Wrap providers
Wrap your application with HuddleClientProvider
const App = () => {
return (
<HuddleClientProvider value={huddleClient}>
<YourApp />
</HuddleClientProvider>
);
};
Usage
import { useHuddleClientContext } from '@huddle01/huddle01-client/hooks';
const huddleClient = useHuddleClientContext();
huddleClient.muteMic();
💡 For any help reach out to us on
Discord