useDaily(): DailyCall
This is the same instance passed to or created by DailyProvider.
Return value
Returns aDailyCall instance, which is the call object.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns the current call object instance.
useDaily(): DailyCall
This is the same instance passed to or created by DailyProvider.
DailyCall instance, which is the call object.
import { useDaily } from '@daily-co/daily-react';
export const UseDailyDemo = () => {
const daily = useDaily();
const state = daily?.meetingState();
return <div>Meeting state: {state ?? 'unknown'}</div>;
};