import { nothing } from "lit";
import { renderButton } from "../button.js";
const renderQueryErrorShowMore = ({ props })=>{
    if (props.link !== nothing) return props.link;
    return renderButton({
        props: {
            part: 'more-info-btn',
            style: 'primary',
            class: 'mt-8 p-3',
            onClick: ()=>{
                props.onShowMore();
            },
            text: props.i18n.t('more-info')
        }
    })(nothing);
};
export { renderQueryErrorShowMore };
