change back

This commit is contained in:
Mary Hipp 2023-03-21 10:28:29 -04:00
parent eb7ae2588c
commit 26f71d3536

View File

@ -1,4 +1,4 @@
import { PropsWithChildren } from 'react'; import React, { PropsWithChildren } from 'react';
import { IAIPopoverProps } from '../web/src/common/components/IAIPopover'; import { IAIPopoverProps } from '../web/src/common/components/IAIPopover';
import { IAIIconButtonProps } from '../web/src/common/components/IAIIconButton'; import { IAIIconButtonProps } from '../web/src/common/components/IAIIconButton';
@ -45,23 +45,23 @@ declare global {
} }
declare module '@invoke-ai/invoke-ai-ui' { declare module '@invoke-ai/invoke-ai-ui' {
declare class ThemeChanger extends JSX.Element<ThemeChangerProps> { declare class ThemeChanger extends React.Component<ThemeChangerProps> {
public constructor(props: ThemeChangerProps); public constructor(props: ThemeChangerProps);
} }
declare class InvokeAiLogoComponent extends JSX.Element<InvokeAILogoComponentProps> { declare class InvokeAiLogoComponent extends React.Component<InvokeAILogoComponentProps> {
public constructor(props: InvokeAILogoComponentProps); public constructor(props: InvokeAILogoComponentProps);
} }
declare class IAIPopover extends JSX.Element<IAIPopoverProps> { declare class IAIPopover extends React.Component<IAIPopoverProps> {
public constructor(props: IAIPopoverProps); public constructor(props: IAIPopoverProps);
} }
declare class IAIIconButton extends JSX.Element<IAIIconButtonProps> { declare class IAIIconButton extends React.Component<IAIIconButtonProps> {
public constructor(props: IAIIconButtonProps); public constructor(props: IAIIconButtonProps);
} }
declare class SettingsModal extends JSX.Element<SettingsModalProps> { declare class SettingsModal extends React.Component<SettingsModalProps> {
public constructor(props: SettingsModalProps); public constructor(props: SettingsModalProps);
} }
} }