@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
26 lines (25 loc) • 675 B
TypeScript
import { CSSProperties, ReactNode } from 'react';
import { FlexboxProps } from 'react-layout-kit';
export interface ChatHeaderProps extends FlexboxProps {
classNames?: {
center?: string;
left?: string;
right?: string;
};
gaps?: {
center?: number;
left?: number;
right?: number;
};
left?: ReactNode;
onBackClick?: () => void;
right?: ReactNode;
showBackButton?: boolean;
styles?: {
center?: CSSProperties;
left?: CSSProperties;
right?: CSSProperties;
};
}
declare const ChatHeader: import("react").NamedExoticComponent<ChatHeaderProps>;
export default ChatHeader;