import React from 'react';
import { DCRValueEditorFactory } from '../DCRValueEditorFactory';
import styles from './DCRValueEditor.module.css';
export var DCRValueEditor = function (_a) {
    var attributeType = _a.attributeType, value = _a.value, onChange = _a.onChange, _b = _a.disabled, disabled = _b === void 0 ? false : _b;
    return (React.createElement("div", { className: styles.editor }, DCRValueEditorFactory.build({
        attributeType: attributeType,
        value: value,
        onChange: onChange,
        disabled: disabled
    })));
};
