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>
25 lines
585 B
TypeScript
25 lines
585 B
TypeScript
import { ReactNode } from 'react'
|
|
import { Subtitle } from 'web/components/widgets/subtitle'
|
|
import clsx from 'clsx'
|
|
import { Col } from '../layout/col'
|
|
|
|
export const Container = (props: {
|
|
className?: string
|
|
containerContent: ReactNode
|
|
header?: string
|
|
}) => {
|
|
const { className, containerContent, header } = props
|
|
|
|
return (
|
|
<Col
|
|
className={clsx(
|
|
'border-ink-300 m-0 mb-4 rounded-lg border object-contain px-3 py-1',
|
|
className
|
|
)}
|
|
>
|
|
{header && <Subtitle className="!mt-0">{header}</Subtitle>}
|
|
{containerContent}
|
|
</Col>
|
|
)
|
|
}
|