import { Component } from "solid-js" import type { Attachment } from "../types/attachment" import { useI18n } from "../lib/i18n" interface AttachmentChipProps { attachment: Attachment onRemove: () => void } const AttachmentChip: Component = (props) => { const { t } = useI18n() return (
{props.attachment.display}
) } export default AttachmentChip