"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.View = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const UrlDisplayLayout_1 = require("../../../components/UrlDisplayLayout");
const View = ({ formatting }) => {
    const data = formatting.range.data();
    if (!data || typeof data !== 'object')
        return;
    return React.createElement(UrlDisplayLayout_1.UrlDisplayLayout, { url: data.href ?? '', title: data.title });
};
exports.View = View;
//# sourceMappingURL=View.js.map