Files
LingChair/client/ui/chat/MessageContainer.jsx

21 lines
473 B
JavaScript

/**
* 消息容器
* @returns { React.JSX.Element }
*/
export default function MessageContainer({ children, style, ...props } = {}) {
return (
<div style={{
display: 'flex',
flexDirection: 'column',
justifyContent: 'flex-end',
alignItems: 'center',
marginBottom: '20px',
height: "100%",
...style,
}}
{...props}>
{children}
</div>
)
}