import React from 'react'; import { ViewStyle, StyleProp } from 'react-native'; import { SpacingProps } from '../../../theme'; import { BoxProps, PressEvents, TestableProps } from '../../common'; export interface StackProps extends SpacingProps, TestableProps, PressEvents, BoxProps { children?: React.ReactNode; direction?: 'row' | 'column'; gap?: number; align?: ViewStyle['alignItems']; justify?: ViewStyle['justifyContent']; wrap?: ViewStyle['flexWrap']; style?: StyleProp; flex?: number; fullWidth?: boolean; fullHeight?: boolean; divider?: React.ReactNode; testID?: string; disabled?: boolean; } /** * Stack 组件:用于构建行/列布局容器。 * * 功能: * - 支持 `direction`、`gap`、`align`、`justify`、`wrap` 等布局属性。 * - 支持 `BoxProps` 的宽高(width/height)等尺寸属性,通过 `buildBoxStyle` 应用。 * - 支持点击事件与测试标识。 */ export declare const Stack: React.FC; export type RowProps = Omit; /** * Row 组件:`Stack` 的行方向快捷封装。 */ export declare const Row: React.FC; export type ColProps = Omit; /** * Col 组件:`Stack` 的列方向快捷封装。 */ export declare const Col: React.FC; export type { StackProps as IStackProps }; //# sourceMappingURL=Stack.d.ts.map