From 74e83dda54cce032466f47be6f35f69f646218cb Mon Sep 17 00:00:00 2001 From: Mary Hipp Date: Tue, 21 Mar 2023 10:10:48 -0400 Subject: [PATCH] update type --- invokeai/frontend/web/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/invokeai/frontend/web/index.d.ts b/invokeai/frontend/web/index.d.ts index a3ab75d17c..2753fc2fb6 100644 --- a/invokeai/frontend/web/index.d.ts +++ b/invokeai/frontend/web/index.d.ts @@ -45,23 +45,23 @@ declare global { } declare module '@invoke-ai/invoke-ai-ui' { - declare class ThemeChanger extends React.Component { + declare class ThemeChanger extends React.FunctionComponent { public constructor(props: ThemeChangerProps); } - declare class InvokeAiLogoComponent extends React.Component { + declare class InvokeAiLogoComponent extends React.FunctionComponent { public constructor(props: InvokeAILogoComponentProps); } - declare class IAIPopover extends React.Component { + declare class IAIPopover extends React.FunctionComponent { public constructor(props: IAIPopoverProps); } - declare class IAIIconButton extends React.Component { + declare class IAIIconButton extends React.FunctionComponent { public constructor(props: IAIIconButtonProps); } - declare class SettingsModal extends React.Component { + declare class SettingsModal extends React.FunctionComponent { public constructor(props: SettingsModalProps); } }