UNPKG

@viktorvojtek/react-native-simple-components

Version:

Collection of essential UI components based on react-native components

21 lines (20 loc) 911 B
import React from 'react'; import type { ReactNode } from 'react'; import type { ViewProps, ViewStyle } from 'react-native'; import { ViewStyleProps } from '../../utils'; type Props = { children?: ReactNode | ReactNode[]; space?: string | number; style?: ViewStyle; pointerEvents?: 'auto' | 'none' | 'box-none'; } & Pick<ViewProps, 'style'> & ViewStyleProps; export type StackProps = Props; declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{ children?: React.ReactNode | React.ReactNode[]; space?: string | number | undefined; style?: ViewStyle | undefined; pointerEvents?: "box-none" | "none" | "auto" | undefined; } & Pick<ViewProps, "style"> & { bgColor?: import("react-native").ColorValue | undefined; } & import("../../..").MarginProps & import("../../..").PaddingProps & ViewStyle & React.RefAttributes<any>>>; export default _default;