@@ -74,6 +74,7 @@ interface Props {
7474 children : Element [ ] ;
7575 onPress : ( e : PressEvent ) => void ;
7676 onPressStart : ( e : PressEvent ) => void ;
77+ // TODO: add all props for <Button>
7778 [ index : string ] : unknown ;
7879}
7980export const Button = forwardRef < HTMLButtonElement , Props > (
@@ -136,6 +137,7 @@ export function MicButton({
136137 ...rest
137138} : {
138139 muted : boolean ;
140+ // TODO: add all props for <Button>
139141 [ index : string ] : unknown ;
140142} ) {
141143 return (
@@ -154,6 +156,7 @@ export function VideoButton({
154156 ...rest
155157} : {
156158 muted : boolean ;
159+ // TODO: add all props for <Button>
157160 [ index : string ] : unknown ;
158161} ) {
159162 return (
@@ -174,6 +177,7 @@ export function ScreenshareButton({
174177} : {
175178 enabled : boolean ;
176179 className ?: string ;
180+ // TODO: add all props for <Button>
177181 [ index : string ] : unknown ;
178182} ) {
179183 return (
@@ -192,6 +196,7 @@ export function HangupButton({
192196 ...rest
193197} : {
194198 className ?: string ;
199+ // TODO: add all props for <Button>
195200 [ index : string ] : unknown ;
196201} ) {
197202 return (
@@ -212,6 +217,7 @@ export function SettingsButton({
212217 ...rest
213218} : {
214219 className ?: string ;
220+ // TODO: add all props for <Button>
215221 [ index : string ] : unknown ;
216222} ) {
217223 return (
@@ -228,6 +234,7 @@ export function InviteButton({
228234 ...rest
229235} : {
230236 className ?: string ;
237+ // TODO: add all props for <Button>
231238 [ index : string ] : unknown ;
232239} ) {
233240 return (
0 commit comments