From db41e74cf9f584301e59556e64a5c2371df18ed0 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Sun, 18 Sep 2022 15:17:56 -0400 Subject: [PATCH] fix(DialogButton): fix types, add ref types --- src/deck-components/Button.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/deck-components/Button.tsx b/src/deck-components/Button.tsx index f4c06a7..0c859b5 100644 --- a/src/deck-components/Button.tsx +++ b/src/deck-components/Button.tsx @@ -1,10 +1,10 @@ -import { CSSProperties, FC } from 'react'; +import { CSSProperties, FC, RefAttributes } from 'react'; import { CommonUIModule } from '../webpack'; -export interface DialogButtonProps { +export interface DialogButtonProps extends RefAttributes { label?: string; - style: CSSProperties; + style?: CSSProperties; className?: string; noFocusRing?: boolean; description?: string;