import * as React from "react"; import * as SVG from "~/common/svg"; import * as Constants from "~/common/constants"; import { P1 } from "~/components/system/components/Typography"; import { Slider } from "~/components/system/components/Slider"; import { css } from "@emotion/react"; import Select from "~/components/core/FontFrame/Settings/Select"; const STYLES_LABEL = (theme) => css` font-size: 0.875rem; color: ${theme.fontPreviewDarkMode ? theme.system.grayDark3 : theme.semantic.textGrayLight}; margin-bottom: 4px; `; export const Controller = ({ value, options, onChange, selectSuffix = "", //NOTE(Amine): minWidth will remove junk when Select value change selectMinWidth, label, min, max, step, disabled, }) => { return (