mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-01-22 21:00:24 -05:00
15 lines
350 B
TypeScript
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>
|
|
)
|
|
})
|