react-native-svg
Version:
SVG library for react-native
23 lines • 619 B
TypeScript
import * as React from 'react';
import type { CommonPathProps, NumberProp } from '../lib/extract/types';
import Shape from './Shape';
export interface RectProps extends CommonPathProps {
x?: NumberProp;
y?: NumberProp;
width?: NumberProp;
height?: NumberProp;
rx?: NumberProp;
ry?: NumberProp;
opacity?: NumberProp;
}
export default class Rect extends Shape<RectProps> {
static displayName: string;
static defaultProps: {
x: number;
y: number;
width: number;
height: number;
};
render(): React.JSX.Element;
}
//# sourceMappingURL=Rect.d.ts.map