import { __assign } from '../../../../node_modules/tslib/tslib.es6.js';
import React from 'react';
import Underline from './Underline.js';
import Highlight from './Highlight.js';

var MarkedTextMark = function (props) {
    if (props.variant === 'highlight') {
        return React.createElement(Highlight, __assign({}, props));
    }
    if (props.variant === 'underline') {
        return React.createElement(Underline, __assign({}, props));
    }
    return null;
};

export { MarkedTextMark as default };
//# sourceMappingURL=index.js.map
