/** * ScribbleStrip — the LCD-like label display above each footswitch. * * Shows block/preset/snapshot name and status, mimicking the * Helix / Line 6 scribble strip LCDs. */ import type { ScribbleStripData, ScribbleColor } from '../types'; import { SCRIBBLE_COLORS } from '../types'; import { useDoubleTap } from '../hooks/useDoubleTap'; interface ScribbleStripProps { data: ScribbleStripData; onPress: () => void; onSecondary: () => void; } export function ScribbleStrip({ data, onPress, onSecondary }: ScribbleStripProps) { const { handleTap } = useDoubleTap({ onSingleTap: onPress, onDoubleTap: onSecondary, }); const color = SCRIBBLE_COLORS[data.color ?? 'off']; const isActive = data.active ?? false; const isBypassed = data.bypassed ?? false; return (