import React from "react"; import type { FlexStyle, StyleProp, ViewStyle } from "react-native"; import type { StyledViewProps } from "./styledComponents.type"; export type HStackProps = StyledViewProps & { /** * Defines the alignment of children along the cross axis. */ align?: FlexStyle['alignItems']; /** * Determines whether the items should wrap onto multiple lines. */ fWrap?: FlexStyle['flexWrap']; /** * Space between child components. */ gap?: number; /** * Custom styles for the container. */ containerStyle?: StyleProp; /** * Child components to be rendered inside the HStack. */ children?: React.ReactNode; }; export type VStackProps = StyledViewProps & { /** * Space between child components. */ gap?: number; /** * Child components to be rendered inside the VStack. */ children?: React.ReactNode; /** * Custom styles for the container. */ containerStyle?: StyleProp; };