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

25 lines
759 B
TypeScript

import clsx from 'clsx'
/** `<table>` with styles. Expects table html (`<thead>`, `<td>` etc) */
export const Table = (props: {
className?: string
children: React.ReactNode
}) => {
const { className, children } = props
return (
<table
className={clsx(
'text-ink-700 w-full whitespace-nowrap text-left text-sm',
'[&>thead]:text-ink-500 [&>thead]:text-xs [&>thead]:font-medium [&>thead]:uppercase [&>thead]:tracking-wider',
'[&_td]:px-3 [&_td]:py-2.5 [&_th]:px-3 [&_th]:py-2',
'[&>tbody>tr]:border-ink-200 [&>tbody>tr:last-child]:border-b-0 [&>tbody>tr]:border-b',
'[&>tbody>tr:hover]:bg-ink-100/50 [&>tbody>tr]:transition-colors',
className
)}
>
{children}
</table>
)
}