import React from 'react' ; import { CommonProps } from '../Group' ; import { CommonShapeProps } from './common' ; export interface EllipseStyle extends CommonShapeProps { description description rx : number ; description description ry : number ; } interface EllipseProps extends CommonProps { description style : EllipseStyle ; } const Ellipse = ( props ) => { const { children , ... rest } = props ; return ( < div data - attr = { { ... rest , type : 'ellipse' , } } > { children } < /div>); } ; export default Ellipse ;