@rneui/layout
Version:
Cross Platform React Native UI Toolkit
14 lines (13 loc) • 474 B
TypeScript
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;