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>
23 lines
502 B
TypeScript
23 lines
502 B
TypeScript
import clsx from 'clsx'
|
|
|
|
export function TextButton(props: {
|
|
onClick: () => void
|
|
children: React.ReactNode
|
|
className?: string
|
|
}) {
|
|
const { onClick, children, className } = props
|
|
|
|
return (
|
|
<span
|
|
className={clsx(
|
|
className,
|
|
'hover:decoration-primary-400 focus:decoration-primary-400 cursor-pointer gap-2 hover:underline hover:decoration-2 focus:underline focus:decoration-2'
|
|
)}
|
|
tabIndex={0}
|
|
onClick={onClick}
|
|
>
|
|
{children}
|
|
</span>
|
|
)
|
|
}
|