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