// ui import { TYAxisValues } from "@plane/types"; import { CustomSelect } from "@plane/ui"; // types import { ANALYTICS_Y_AXIS_VALUES } from "@/constants/analytics"; // 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} ))} );