UNPKG

@rneui/layout

Version:
14 lines (13 loc) 474 B
import React from 'react'; import { ColorValue, StyleProp, ViewStyle } from 'react-native'; import { SystemProp } from '../system/SystemProp'; export interface BoxProps extends Partial<Record<SystemProp, string | number>> { bgColor?: ColorValue; h?: number; w?: number; height?: number; width?: number; style?: StyleProp<ViewStyle>; children?: React.ReactNode; } export declare const Box: ({ children, style, ...rest }: BoxProps) => JSX.Element;