manifold/web/components/layout/col.tsx

17 lines
321 B
TypeScript
Raw Normal View History

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>
)
}