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: (value: string) => void; }; export const IssuePrioritySelect: React.FC = ({ value, onChange }) => ( {value ?? "Priority"} } onChange={onChange} noChevron > {PRIORITIES.map((priority) => (
{priority}
))}
);