import type { ForwardedRef } from 'react'; import { forwardRef } from 'react'; import { View, type ViewProps } from 'react-native'; import { cn } from '@cdx-ui/utils'; import { hStackRootVariants, type StackSpace } from './styles'; export interface HStackProps extends ViewProps { className?: string; space?: StackSpace; reversed?: boolean; } export const HStack = forwardRef( ( { reversed = false, space, style, className, children, ...restProps }, ref: ForwardedRef, ) => { return ( {children} ); }, ); HStack.displayName = 'HStack';