import React from 'react'; import Blurhash from 'soapbox/components/blurhash'; import { Icon } from 'soapbox/components/ui'; import type { Attachment } from 'soapbox/types/entities'; interface IChatUpload { attachment: Attachment, onDelete?(): void, } /** An attachment uploaded to the chat composer, before sending. */ const ChatUpload: React.FC = ({ attachment, onDelete }) => { return (
); }; interface IRemoveButton { onClick?: React.MouseEventHandler } /** Floating button to remove an attachment. */ const RemoveButton: React.FC = ({ onClick }) => { return ( ); }; export default ChatUpload;