UNPKG

@ncodedcode/ncode_react_lib

Version:

ncode react application context library

31 lines (30 loc) 924 B
import React, { CSSProperties } from "react"; export declare class StyleSheet { static create(css: { [key: string]: CSSProperties; }): { [key: string]: React.CSSProperties; }; } declare type Props = { className?: string; style?: CSSProperties; children?: React.ReactNode; height?: number; width?: number | string; mt?: number | string; mb?: number | string; ml?: number | string; mr?: number | string; pt?: number | string; pb?: number | string; pl?: number | string; pr?: number | string; [key: string]: any; }; export declare const VStack: (props: Props) => JSX.Element; export declare const HStack: (props: Props) => JSX.Element; export declare const ZStack: ({ style, children }: Props) => JSX.Element; export declare const Spacer: () => JSX.Element; export declare const Center: ({ style, children }: Props) => JSX.Element; export {};