predikt/oracle/web/components/loading-user-rows.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

35 lines
1.0 KiB
TypeScript

import clsx from 'clsx'
import { Col } from 'web/components/layout/col'
import { Row } from 'web/components/layout/row'
export default function LoadingUserRows() {
return (
<Col className="min-h-screen w-full gap-2">
<LoadingUserRow />
<LoadingUserRow />
<LoadingUserRow />
<LoadingUserRow />
<LoadingUserRow />
</Col>
)
}
export function LoadingUserRow() {
// You can add any UI inside Loading, including a Skeleton.
return (
<div className="border-ink-200 flex w-full animate-pulse border-b p-2 last:border-none sm:rounded-md sm:border-none">
<Row className="w-full justify-between gap-1 sm:gap-4">
<Row className={clsx('sm:w-[calc(100%-12rem] w-full gap-2 sm:gap-4')}>
<span className={'mr-6'}>#</span>
<div className="bg-ink-300 h-6 w-6 rounded-full" />
<div className="bg-ink-300 h-5 w-32 rounded-full" />
</Row>
<div className="">
<div className="bg-ink-300 h-5 w-12 rounded-full" />
</div>
</Row>
</div>
)
}