| 5 | import CollapsiblePanel from '../ui/CollapsiblePanel'; |
| 6 | |
| 7 | interface AlgorithmPanelProps { |
| 8 | pattern: number; |
| 9 | setPattern: (id: number) => void; |
| 10 | threshold: number; |
| 11 | setThreshold: (t: number) => void; |
| 12 | invert: boolean; |
| 13 | setInvert: React.Dispatch<React.SetStateAction<boolean>>; |
| 14 | paletteId: string | null; |
| 15 | asciiRamp?: string; |
| 16 | setAsciiRamp?: (v: string) => void; |
| 17 | } |
| 18 | |
| 19 | const AlgorithmPanel: React.FC<AlgorithmPanelProps> = ({ pattern, setPattern, threshold, setThreshold, invert, setInvert, asciiRamp, setAsciiRamp }) => { |
| 20 | const { t } = useTranslation(); |
nothing calls this directly
no outgoing calls
no test coverage detected