import { CopyButton } from '../shared/CopyButton' type Props = { copyText?: string copyLabel: string align?: 'start' | 'end' } export function MessageActionBar({ copyText, copyLabel, align = 'start', }: Props) { const hasCopy = Boolean(copyText?.trim()) if (!hasCopy) return null return (