import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { FormGroup } from '../../../../scalars/components/fragments/form-group/index.js';
import { FormLabel } from '../../../../scalars/components/fragments/form-label/index.js';
import { SplittedInputDiff } from '../input/splitted-input-diff.js';
const TextInputDiff = ({ value, label, required, baseValue = '', viewMode = 'edition', diffMode = 'sentences', }) => {
    return (_jsxs(FormGroup, { children: [label && (_jsx(FormLabel, { disabled: true, required: required, children: label })), _jsx(SplittedInputDiff, { value: value, baseValue: baseValue, diffMode: diffMode, viewMode: viewMode })] }));
};
export default TextInputDiff;
//# sourceMappingURL=text-input-diff.js.map