import React from "react"; // ui import { CustomSelect } from "components/ui"; // icons import { PriorityIcon } from "components/icons/priority-icon"; // 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 ?? "None"}
))}
);