import { css } from '@rocket.chat/css-in-js'; import { Box } from '@rocket.chat/fuselage'; import { useLayout } from '@rocket.chat/ui-contexts'; import type { AllHTMLAttributes } from 'react'; const customStyle = css` &.rc-message-box { position: relative; width: 100%; padding: 0 24px; &.embedded { min-height: 36px; padding: 0; & .users-typing { display: none; } & .formatting-tips { display: none; } } } `; const RoomComposer = ({ children, ...props }: Omit, 'is'>) => { const { isEmbedded } = useLayout(); return ( {children} ); }; export default RoomComposer;