import { XIcon } from '@phosphor-icons/react' import classNames from 'classnames' import React from 'react' export interface DismissButtonProps { onClick: () => void /** * `'overlay'` — translucent button sitting on top of media (image / * video corner). `'inline'` — opaque button placed in the row of a * compact attachment alongside other content. */ variant?: 'overlay' | 'inline' ariaLabel?: string } const DismissButton: React.FC = ({ onClick, variant = 'overlay', ariaLabel = 'Dismiss attachment', }) => ( ) export default DismissButton