predikt/oracle/web/components/widgets/toast-clipboard.tsx
caelum0x 2b68bde5d5 Predikt: full Polymarket-style prediction market — web + mobile + on-chain + bots
Working tree is now the canonical repo. Off-chain play-money + trustless on-chain
(FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution,
mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-06 23:29:50 +03:00

21 lines
653 B
TypeScript

import { ClipboardCopyIcon } from '@heroicons/react/outline'
import clsx from 'clsx'
import { Row } from 'web/components/layout/row'
export function ToastClipboard(props: { className?: string }) {
const { className } = props
return (
<Row
className={clsx(
'border-ink-400 absolute items-center' +
'divide-ink-200 bg-canvas-0 gap-2 divide-x rounded-md border-2 ' +
'h-15 text-ink-500 z-10 w-[15rem] p-2 pr-3',
className
)}
>
<ClipboardCopyIcon height={20} className={'mr-2 self-center'} />
<div className="pl-4 text-sm font-normal">Link copied to clipboard!</div>
</Row>
)
}