MCPcopy Create free account
hub / github.com/Oslonline/dithering-studio / AlgorithmPanelProps

Interface AlgorithmPanelProps

src/components/panels/AlgorithmPanel.tsx:7–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import CollapsiblePanel from '../ui/CollapsiblePanel';
6
7interface 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
19const AlgorithmPanel: React.FC<AlgorithmPanelProps> = ({ pattern, setPattern, threshold, setThreshold, invert, setInvert, asciiRamp, setAsciiRamp }) => {
20 const { t } = useTranslation();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected