From 713136672aafa276555dd2aa61d2105c9c9e8b72 Mon Sep 17 00:00:00 2001 From: Timo K Date: Sat, 2 Jul 2022 21:45:31 +0200 Subject: [PATCH] make className an optional param --- src/button/Button.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/button/Button.tsx b/src/button/Button.tsx index 2f7ba3a..5bea814 100644 --- a/src/button/Button.tsx +++ b/src/button/Button.tsx @@ -168,7 +168,7 @@ export function ScreenshareButton({ ...rest }: { enabled: boolean; - className: string; + className?: string; [index: string]: unknown; }) { return ( @@ -185,7 +185,7 @@ export function HangupButton({ className, ...rest }: { - className: string; + className?: string; [index: string]: unknown; }) { return ( @@ -206,7 +206,7 @@ export function SettingsButton({ className, ...rest }: { - className: string; + className?: string; [index: string]: unknown; }) { return ( @@ -223,7 +223,7 @@ export function InviteButton({ className, ...rest }: { - className: string; + className?: string; [index: string]: unknown; }) { return (