RocketChat/Rocket.Chat

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

Summary

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

type AttachmentTitleProps = ComponentPropsWithoutRef<typeof Box>;

const AttachmentTitle = (props: AttachmentTitleProps) => <Box withTruncatedText mi={2} fontScale='c1' color='hint' {...props} />;

export default AttachmentTitle;