@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
24 lines • 929 B
text/typescript
import { ButtonProps } from "../../base-ui/Button/type.mjs";
import "../../base-ui/Button/index.mjs";
import { ChatInputAreaInnerProps } from "../../chat/ChatInputArea/type.mjs";
import "../../chat/ChatInputArea/index.mjs";
import { CSSProperties, MouseEventHandler, ReactNode, Ref } from "react";
//#region src/mobile/ChatInputArea/type.d.ts
interface ChatInputAreaProps extends ChatInputAreaInnerProps {
bottomAddons?: ReactNode;
expand?: boolean;
ref?: Ref<HTMLTextAreaElement>;
safeArea?: boolean;
setExpand?: (expand: boolean) => void;
style?: CSSProperties;
textAreaLeftAddons?: ReactNode;
textAreaRightAddons?: ReactNode;
topAddons?: ReactNode;
}
interface ChatSendButtonProps extends Omit<ButtonProps, 'onClick'> {
onSend?: MouseEventHandler<HTMLElement>;
onStop?: MouseEventHandler<HTMLElement>;
}
//#endregion
export { ChatInputAreaProps, ChatSendButtonProps };
//# sourceMappingURL=type.d.mts.map