// Copyright: © 2026 TWWIM UG. All rights reserved. (www.twwim.com) /** * PhraseRow — single editable row in a PhraseListEditor (text input + delete). * * @layer Presentation */ import { X } from 'lucide-react'; interface PhraseRowProps { phrase: string; maxChars: number; onEdit: (value: string) => void; onRemove: () => void; removeLabel: string; } export function PhraseRow({ phrase, maxChars, onEdit, onRemove, removeLabel, }: PhraseRowProps) { const overLimit = phrase.length > maxChars; return (