manifold/web/components/layout/col.tsx

12 lines
244 B
TypeScript
Raw Normal View History

import clsx from 'clsx'
export function Col(props: JSX.IntrinsicElements['div']) {
const { children, className, ...rest } = props
return (
<div className={clsx(className, 'flex flex-col')} {...rest}>
{children}
</div>
)
}