UNPKG

@datalayer/core

Version:
14 lines (13 loc) 876 B
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime"; /* * Copyright (c) 2023-2025 Datalayer, Inc. * Distributed under the terms of the Modified BSD License. */ import { Link } from "@primer/react"; import { Banner } from "@primer/react/experimental"; import { useNavigate } from "../../hooks"; export const NoAutomationBanner = () => { const navigate = useNavigate(); return (_jsx(_Fragment, { children: _jsx(Banner, { title: "Warning", description: _jsxs(_Fragment, { children: ["We don't have bandwidth to automate this feature. ", _jsx(Link, { href: "", onClick: e => navigate('/contact', e), children: "Please reach out" }), " to prioritize this."] }), primaryAction: _jsx(Banner.PrimaryAction, { onClick: e => navigate('/contact', e), children: "Reach out" }), variant: "warning" }) })); }; export default NoAutomationBanner;