import React from "react"; // ui import { CustomSelect, PriorityIcon } from "@plane/ui"; // types import { TIssuePriorities } from "types"; // constants import { PRIORITIES } from "constants/project"; type Props = { value: TIssuePriorities; onChange: (val: TIssuePriorities) => void; disabled?: boolean; }; export const SidebarPrioritySelect: React.FC = ({ value, onChange, disabled = false }) => ( {value ?? "None"} } value={value} onChange={onChange} optionsClassName="w-min" disabled={disabled} > {PRIORITIES.map((option) => ( <> {option ?? "None"} ))} );