refactor: playground rerank layout

This commit is contained in:
jialin
2024-11-22 10:00:34 +08:00
parent 8e7fa486db
commit 1e3957bdd5
12 changed files with 218 additions and 135 deletions
@@ -76,6 +76,7 @@ interface MessageInputProps {
scope: string;
placeholer?: string;
shouldResetMessage?: boolean;
style?: React.CSSProperties;
}
const MessageInput: React.FC<MessageInputProps> = ({
@@ -95,7 +96,7 @@ const MessageInput: React.FC<MessageInputProps> = ({
submitIcon,
placeholer,
tools,
style,
shouldResetMessage = true
}) => {
const { TextArea } = Input;
@@ -347,7 +348,7 @@ const MessageInput: React.FC<MessageInputProps> = ({
);
return (
<div className="messageInput">
<div className="messageInput" style={{ ...style }}>
<div className="tool-bar">
<div className="actions">
{tools}