This commit is contained in:
Timo K
2026-03-09 14:40:13 +01:00
parent 273eedd256
commit 54bef07b3b
2 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ import styles from "./Button.module.css";
interface MicButtonProps extends ComponentPropsWithoutRef<"button"> {
muted: boolean;
size: "sm" | "lg";
size?: "sm" | "lg";
}
export const MicButton: FC<MicButtonProps> = ({ muted, ...props }) => {
@@ -48,7 +48,7 @@ export const MicButton: FC<MicButtonProps> = ({ muted, ...props }) => {
interface VideoButtonProps extends ComponentPropsWithoutRef<"button"> {
muted: boolean;
size: "sm" | "lg";
size?: "sm" | "lg";
}
export const VideoButton: FC<VideoButtonProps> = ({ muted, ...props }) => {
@@ -98,7 +98,7 @@ export const ShareScreenButton: FC<ShareScreenButtonProps> = ({
};
interface EndCallButtonProps extends ComponentPropsWithoutRef<"button"> {
size: "sm" | "lg";
size?: "sm" | "lg";
}
export const EndCallButton: FC<EndCallButtonProps> = ({
@@ -122,7 +122,7 @@ export const EndCallButton: FC<EndCallButtonProps> = ({
};
interface SettingsButtonProps extends ComponentPropsWithoutRef<"button"> {
size: "sm" | "lg";
size?: "sm" | "lg";
}
export const SettingsButton: FC<SettingsButtonProps> = (props) => {
const { t } = useTranslation();

View File

@@ -166,7 +166,7 @@ export function ReactionPopupMenu({
interface ReactionToggleButtonProps extends ComponentPropsWithoutRef<"button"> {
identifier: string;
vm: CallViewModel;
size: "sm" | "lg";
size?: "sm" | "lg";
}
export function ReactionToggleButton({