vstack.mjs•503 B
import { createElement, forwardRef } from 'react'
import { splitProps } from '../helpers.mjs';
import { getVstackStyle } from '../patterns/vstack.mjs';
import { styled } from './factory.mjs';
export const VStack = /* @__PURE__ */ forwardRef(function VStack(props, ref) {
const [patternProps, restProps] = splitProps(props, ["justify","gap"])
const styleProps = getVstackStyle(patternProps)
const mergedProps = { ref, ...styleProps, ...restProps }
return createElement(styled.div, mergedProps)
})