@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
37 lines (36 loc) • 869 B
text/typescript
import { FlexboxProps } from "../../Flex/type.mjs";
import "../../Flex/index.mjs";
import { CSSProperties, ReactNode, Ref } from "react";
//#region src/mobile/ChatHeader/type.d.ts
interface ChatHeaderProps extends FlexboxProps {
center?: ReactNode;
classNames?: {
center?: string;
left?: string;
right?: string;
};
gaps?: {
center?: number;
left?: number;
right?: number;
};
left?: ReactNode;
onBackClick?: () => void;
ref?: Ref<HTMLDivElement>;
right?: ReactNode;
safeArea?: boolean;
showBackButton?: boolean;
styles?: {
center?: CSSProperties;
left?: CSSProperties;
right?: CSSProperties;
};
}
interface ChatHeaderTitleProps {
desc?: string | ReactNode;
tag?: ReactNode;
title: string | ReactNode;
}
//#endregion
export { ChatHeaderProps, ChatHeaderTitleProps };
//# sourceMappingURL=type.d.mts.map