File tree 3 files changed +15
-0
lines changed
3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @livekit/components-react " : patch
3
+ ---
4
+
5
+ Add StartMediaButton to public API
Original file line number Diff line number Diff line change @@ -43,6 +43,12 @@ export interface AllowAudioPlaybackProps extends React_2.ButtonHTMLAttributes<HT
43
43
label: string ;
44
44
}
45
45
46
+ // @public (undocumented)
47
+ export interface AllowMediaPlaybackProps extends React_2 .ButtonHTMLAttributes <HTMLButtonElement > {
48
+ // (undocumented)
49
+ label? : string ;
50
+ }
51
+
46
52
// @public
47
53
export function AudioConference({ ... props }: AudioConferenceProps ): React_2 .JSX .Element ;
48
54
@@ -641,6 +647,9 @@ export const SpinnerIcon: (props: SVGProps<SVGSVGElement>) => React_2.JSX.Elemen
641
647
// @public
642
648
export const StartAudio: (props : AllowAudioPlaybackProps & React_2 .RefAttributes <HTMLButtonElement >) => React_2 .ReactNode ;
643
649
650
+ // @public
651
+ export const StartMediaButton: (props : AllowMediaPlaybackProps & React_2 .RefAttributes <HTMLButtonElement >) => React_2 .ReactNode ;
652
+
644
653
// @public
645
654
export function Toast(props : React_2 .HTMLAttributes <HTMLDivElement >): React_2 .JSX .Element ;
646
655
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ export * from './controls/DisconnectButton';
5
5
export * from './controls/FocusToggle' ;
6
6
export * from './controls/MediaDeviceSelect' ;
7
7
export * from './controls/StartAudio' ;
8
+ export * from './controls/StartMediaButton' ;
8
9
export * from './controls/TrackToggle' ;
9
10
export * from './layout' ;
10
11
export * from './layout/LayoutContextProvider' ;
You can’t perform that action at this time.
0 commit comments