import { jsx as _jsx } from "react/jsx-runtime";
import { Controller } from "react-hook-form";
import { ConnectSelect } from "../../select/select.js";
import { sharingTypeOptions } from "../../../constants/options.js";
export function SharingTypeFormInput(props) {
    const { control, ...delegatedProps } = props;
    return (_jsx(Controller, { control: control, name: "sharingType", render: ({ field }) => (_jsx(ConnectSelect, { ...delegatedProps, ...field, id: "sharingType", items: sharingTypeOptions })) }));
}
//# sourceMappingURL=sharing-type-form-input.js.map