From 304339f589ee274f2d7ffe449b3bfc06e7f4e82b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Thu, 28 Jul 2022 08:15:32 +0200 Subject: [PATCH] Improve TS around OptionsButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/button/Button.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/button/Button.tsx b/src/button/Button.tsx index 97c6166..bd7a0dd 100644 --- a/src/button/Button.tsx +++ b/src/button/Button.tsx @@ -239,16 +239,10 @@ export function InviteButton({ ); } -export function OptionsButton({ - className, - ...rest -}: { - className?: string; - [index: string]: unknown; -}) { +export function OptionsButton(props: Omit) { return ( - {() => "Options"}