swiftui-react-native
Version:
A React Native component library inspired by SwiftUI
9 lines (8 loc) • 610 B
TypeScript
import React from 'react';
import { ShapeCornerRadii, ShapeCornerRadius, ShapeProps } from './types';
export declare function Rectangle({ style, ...modifiers }: ShapeProps): React.JSX.Element;
export declare function RoundedRectangle(props: ShapeProps & ShapeCornerRadius): React.JSX.Element;
export declare function UnevenRoundedRectangle(props: ShapeProps & ShapeCornerRadii): React.JSX.Element;
export declare function Circle(props: ShapeProps): React.JSX.Element;
export declare function Capsule(props: ShapeProps): React.JSX.Element;
export declare function Ellipse(props: ShapeProps): React.JSX.Element;