manifold/web/components/layout/col.tsx
James Grugett 8b9d0e5dba
New fold page UI with tabs (#37)
* Tabbed fold page

* Implement market, leaderboard tab views for fold. And edit dialog

* Add about field to Fold
2022-01-25 14:47:25 -06:00

17 lines
321 B
TypeScript

import clsx from 'clsx'
import { CSSProperties } from 'react'
export function Col(props: {
children?: any
className?: string
style?: CSSProperties
}) {
const { children, className, style } = props
return (
<div className={clsx(className, 'flex flex-col')} style={style}>
{children}
</div>
)
}