Make onClose required in Modal
This commit is contained in:
parent
509fd65156
commit
51572b5787
3 changed files with 12 additions and 3 deletions
|
|
@ -59,9 +59,10 @@ const LocalVolume: React.FC<LocalVolumeProps> = ({
|
|||
// TODO: Extend ModalProps
|
||||
interface Props {
|
||||
feed: CallFeed;
|
||||
onClose: () => void;
|
||||
}
|
||||
|
||||
export const VideoTileSettingsModal = ({ feed, ...rest }: Props) => {
|
||||
export const VideoTileSettingsModal = ({ feed, onClose, ...rest }: Props) => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
|
|
@ -70,6 +71,7 @@ export const VideoTileSettingsModal = ({ feed, ...rest }: Props) => {
|
|||
title={t("Local volume")}
|
||||
isDismissable
|
||||
mobileFullScreen
|
||||
onClose={onClose}
|
||||
{...rest}
|
||||
>
|
||||
<div className={styles.content}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue