import { useCustomWidthAtom } from "@/atoms/userSettingsAtom"; import { useAtom } from "jotai"; import React from "react"; type ImageScaleSelectProps = { scale: "4" | "2" | "3"; setScale: (arg: "4" | "2" | "3") => void; }; export function ImageScaleSelect({ scale, setScale }: ImageScaleSelectProps) { return (

IMAGE SCALE ({scale}X)

{/*

EXPERIMENTAL

*/}
{ setScale(e.target.value.toString()); }} step="1" className="range range-primary mt-2" />
1 4 8 12 16
); }