// ui import { CustomSelect } from "@plane/ui"; // types import { ANALYTICS_Y_AXIS_VALUES } from "constants/analytics"; import { TYAxisValues } from "@plane/types"; // constants type Props = { value: TYAxisValues; onChange: () => void; }; export const SelectYAxis: React.FC = ({ value, onChange }) => ( {ANALYTICS_Y_AXIS_VALUES.find((v) => v.value === value)?.label ?? "None"}} onChange={onChange} maxHeight="lg" > {ANALYTICS_Y_AXIS_VALUES.map((item) => ( {item.label} ))} );