react-native-simi-comps
Version:
Simple Minimal Components for React Native
21 lines (20 loc) • 701 B
TypeScript
/// <reference types="react" />
import { ViewProps } from "react-native";
export default function View({ children, style, flexed, padded, centered, bordered, row, wrap, separate, margin, marginHorizontal, marginVertical, marginTop, marginRight, marginBottom, marginLeft, }: {
children?: ViewProps["children"];
style?: ViewProps["style"];
flexed?: boolean;
padded?: boolean;
centered?: boolean;
bordered?: boolean;
row?: boolean;
wrap?: boolean;
separate?: boolean;
margin?: number;
marginHorizontal?: number;
marginVertical?: number;
marginTop?: number;
marginRight?: number;
marginBottom?: number;
marginLeft?: number;
}): JSX.Element;