// react import React from "react"; // react hook forms import { Controller } from "react-hook-form"; // ui import { Icon } from "components/ui"; // components import { Label, StateSelect, PrioritySelect } from "components/web-view"; // types import type { IIssue } from "types"; type Props = { control: any; submitChanges: (data: Partial) => Promise; }; export const IssuePropertiesDetail: React.FC = (props) => { const { control, submitChanges } = props; return (
State
( submitChanges({ state: val })} /> )} />
Priority
( submitChanges({ priority: val })} /> )} />
); };