import toast from 'react-hot-toast' import { openExternalBrowserIfDesktop } from '@src/lib/openWindow' export function ToastUnsupportedSelection({ toastId, }: { toastId: string }) { const githubIssueUrl = 'https://github.com/KittyCAD/modeling-app/issues/6368' return (

Some faces and edges are not currently selectable.{' '} The team is working on it .

) } /** * Show a toast notification for when users try to select unsupported faces/edges * @example * // In your component or handler: * import { showUnsupportedSelectionToast } from '@src/components/ToastUnsupportedSelection' * * // When user tries to select an unsupported face/edge * showUnsupportedSelectionToast() */ export function showUnsupportedSelectionToast() { const toastId = toast.custom( (t) => , { duration: 4_000, } ) return toastId }