import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { SelectFieldRaw } from "@powerhousedao/design-system/ui";
import { twMerge } from "tailwind-merge";
export function DefaultEditor(props) {
    const { className, ...rest } = props;
    return (_jsx("div", { className: twMerge("rounded-lg p-3", className), children: _jsx(DefaultEditorSelect, { ...rest }) }));
}
export function DefaultEditorSelect(props) {
    const { documentModelEditor, setDocumentModelEditor, documentModelEditorOptions, className, } = props;
    return (_jsxs("div", { children: [_jsx("h3", { className: "mb-4 font-semibold text-gray-900", children: "Default Editor Selection" }), _jsx(SelectFieldRaw, { className: twMerge("min-w-36 max-w-fit", className), name: "default-editor", required: true, value: documentModelEditor, options: documentModelEditorOptions, multiple: false, onChange: (value) => setDocumentModelEditor(value) })] }));
}
//# sourceMappingURL=default-editor.js.map