2021-12-14 00:28:37 +00:00
|
|
|
import clsx from 'clsx'
|
2022-01-25 20:47:25 +00:00
|
|
|
import { CSSProperties } from 'react'
|
2021-12-14 00:28:37 +00:00
|
|
|
|
2022-01-25 20:47:25 +00:00
|
|
|
export function Col(props: {
|
|
|
|
children?: any
|
|
|
|
className?: string
|
|
|
|
style?: CSSProperties
|
|
|
|
}) {
|
|
|
|
const { children, className, style } = props
|
2021-12-10 14:56:17 +00:00
|
|
|
|
2022-01-25 20:47:25 +00:00
|
|
|
return (
|
|
|
|
<div className={clsx(className, 'flex flex-col')} style={style}>
|
|
|
|
{children}
|
|
|
|
</div>
|
|
|
|
)
|
2021-12-10 14:56:17 +00:00
|
|
|
}
|