RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/components/message/content/attachments/structure/AttachmentRow.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { Box } from '@rocket.chat/fuselage';
import type { ComponentPropsWithoutRef } from 'react';
import React from 'react';

type AttachmentRowProps = ComponentPropsWithoutRef<typeof Box>;

const AttachmentRow = (props: AttachmentRowProps) => (
    <Box mi={-2} mbe={2} rcx-message-attachment display='flex' alignItems='center' {...props} />
);

export default AttachmentRow;