Files
Compass/web/components/layout/row.tsx
2025-08-27 21:30:05 +02:00

15 lines
350 B
TypeScript

import clsx from 'clsx'
import { forwardRef } from 'react'
export const Row = forwardRef(function Row(
props: JSX.IntrinsicElements['div'],
ref: React.Ref<HTMLDivElement>
) {
const { children, className, ...rest } = props
return (
<div className={clsx(className, 'flex flex-row')} ref={ref} {...rest}>
{children}
</div>
)
})