27 lines
560 B
TypeScript
27 lines
560 B
TypeScript
import React from 'react';
|
|
import { ProjectSession } from '../../types/workbench';
|
|
|
|
interface ChatColumnProps {
|
|
currentSession: ProjectSession;
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
export const ChatColumn: React.FC<ChatColumnProps> = ({ children }) => {
|
|
return (
|
|
<main
|
|
style={{
|
|
flex: 1,
|
|
minWidth: '400px',
|
|
height: '100%',
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
background: 'var(--bg-app)',
|
|
overflow: 'hidden',
|
|
position: 'relative',
|
|
}}
|
|
>
|
|
{children}
|
|
</main>
|
|
);
|
|
};
|