react-native-svg
Version:
SVG library for react-native
21 lines (20 loc) • 509 B
TypeScript
import { ReactNode } from 'react';
import { NumberProp } from '../lib/extract/types';
import G from './G';
export interface ForeignObjectProps {
children?: ReactNode;
x?: NumberProp;
y?: NumberProp;
width?: NumberProp;
height?: NumberProp;
}
export default class ForeignObject extends G<ForeignObjectProps> {
static displayName: string;
static defaultProps: {
x: string;
y: string;
width: string;
height: string;
};
render(): JSX.Element;
}