mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
more things needed for header
This commit is contained in:
parent
9738b0ff69
commit
85888030c3
12
invokeai/frontend/web/index.d.ts
vendored
12
invokeai/frontend/web/index.d.ts
vendored
@ -1,4 +1,6 @@
|
||||
import React, { PropsWithChildren } from 'react';
|
||||
import { IAIPopoverProps } from '../web/src/common/components/IAIPopover';
|
||||
import { IAIIconButtonProps } from '../web/src/common/components/IAIIconButton';
|
||||
|
||||
export {};
|
||||
|
||||
@ -50,9 +52,17 @@ declare module '@invoke-ai/invoke-ai-ui' {
|
||||
declare class InvokeAiLogoComponent extends React.Component<InvokeAILogoComponentProps> {
|
||||
public constructor(props: InvokeAILogoComponentProps);
|
||||
}
|
||||
|
||||
declare class IAIPopover extends React.Component<IAIPopoverProps> {
|
||||
public constructor(props: IAIPopoverProps);
|
||||
}
|
||||
|
||||
declare class IAIIconButton extends React.Component<IAIIconButtonProps> {
|
||||
public constructor(props: IAIIconButtonProps);
|
||||
}
|
||||
}
|
||||
|
||||
declare function Invoke(props: PropsWithChildren): JSX.Element;
|
||||
|
||||
export { ThemeChanger, InvokeAiLogoComponent };
|
||||
export { ThemeChanger, InvokeAiLogoComponent, IAIPopover, IAIIconButton };
|
||||
export = Invoke;
|
||||
|
@ -8,7 +8,7 @@ import {
|
||||
} from '@chakra-ui/react';
|
||||
import { memo, ReactNode } from 'react';
|
||||
|
||||
type IAIPopoverProps = PopoverProps & {
|
||||
export type IAIPopoverProps = PopoverProps & {
|
||||
triggerComponent: ReactNode;
|
||||
triggerContainerProps?: BoxProps;
|
||||
children: ReactNode;
|
||||
|
@ -2,6 +2,8 @@ import Component from './component';
|
||||
|
||||
import InvokeAiLogoComponent from './features/system/components/InvokeAILogoComponent';
|
||||
import ThemeChanger from './features/system/components/ThemeChanger';
|
||||
import IAIPopover from './common/components/IAIPopover';
|
||||
import IAIIconButton from './common/components/IAIIconButton';
|
||||
|
||||
export default Component;
|
||||
export { InvokeAiLogoComponent, ThemeChanger };
|
||||
export { InvokeAiLogoComponent, ThemeChanger, IAIPopover, IAIIconButton };
|
||||
|
Loading…
Reference in New Issue
Block a user