14 lines
284 B
TypeScript
14 lines
284 B
TypeScript
import React from 'react'
|
|
|
|
import {atoms as a, style as s} from '../theme/index.js'
|
|
|
|
export function Box({
|
|
children,
|
|
cx = [],
|
|
}: {
|
|
children?: React.ReactNode
|
|
cx?: (Record<string, any> | undefined)[]
|
|
}) {
|
|
return <div style={s([a.flex, a.flex_col, ...cx])}>{children}</div>
|
|
}
|