18 lines
449 B
TypeScript
18 lines
449 B
TypeScript
interface Args extends React.HTMLAttributes<HTMLElement> {}
|
|
|
|
export default function MessageContainer({ children, style, ...props }: Args) {
|
|
return (
|
|
<div style={{
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
justifyContent: 'flex-end',
|
|
alignItems: 'center',
|
|
marginBottom: '20px',
|
|
...style,
|
|
}}
|
|
{...props}>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|