Skip to content

Commit

Permalink
Update api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Nov 7, 2023
1 parent 870a413 commit 9be7a9c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/react/etc/components-react.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import type { RoomConnectOptions } from 'livekit-client';
import type { RoomEvent } from 'livekit-client';
import type { RoomOptions } from 'livekit-client';
import type { ScreenShareCaptureOptions } from 'livekit-client';
import { setLogLevel } from '@livekit/components-core';
import { SetMediaDeviceOptions } from '@livekit/components-core';
import type { SourcesArray } from '@livekit/components-core';
import type { ToggleSource } from '@livekit/components-core';
Expand All @@ -47,7 +48,7 @@ import { TrackPublication } from 'livekit-client';
import type { TrackReference } from '@livekit/components-core';
import { TrackReferenceOrPlaceholder } from '@livekit/components-core';
import type { TrackSourceWithOptions } from '@livekit/components-core';
import type { UserChoices } from '@livekit/components-core';
import { UserChoices } from '@livekit/components-core';
import type { VideoCaptureOptions } from 'livekit-client';
import type { VideoSource } from '@livekit/components-core';
import type { WidgetState } from '@livekit/components-core';
Expand Down Expand Up @@ -445,7 +446,7 @@ export interface PreJoinProps extends Omit<React_2.HTMLAttributes<HTMLDivElement
onValidate?: (values: LocalUserChoices) => boolean;
// @alpha
persistUserChoices?: boolean;
// (undocumented)
// @deprecated (undocumented)
showE2EEOptions?: boolean;
// (undocumented)
userLabel?: string;
Expand Down Expand Up @@ -475,6 +476,8 @@ export interface RoomNameProps extends React_2.HTMLAttributes<HTMLSpanElement> {
childrenPosition?: 'before' | 'after';
}

export { setLogLevel }

// @public
export function StartAudio({ label, ...props }: AllowAudioPlaybackProps): React_2.JSX.Element;

Expand Down Expand Up @@ -859,6 +862,8 @@ export function usePreviewDevice<T extends LocalVideoTrack | LocalAudioTrack>(en
// @alpha (undocumented)
export function usePreviewTracks(options: CreateLocalTracksOptions, onError?: (err: Error) => void): LocalTrack[] | undefined;

export { UserChoices }

// @public
export function useRemoteParticipant(identity: string, options?: UseRemoteParticipantOptions): RemoteParticipant | undefined;

Expand Down

0 comments on commit 9be7a9c

Please sign in to comment.