import * as React from 'react';
import { UrlDisplayLayout } from '../../../components/UrlDisplayLayout';
export const View = ({ formatting }) => {
    const data = formatting.range.data();
    if (!data || typeof data !== 'object')
        return;
    return React.createElement(UrlDisplayLayout, { url: data.href ?? '', title: data.title });
};
//# sourceMappingURL=View.js.map