import React from 'react' ; import { CommonProps } from '../Group' ; import { Arrow , CommonShapeProps , GPath } from './common' ; export interface PathStyle extends CommonShapeProps { description description path : GPath [ ] ; description description startArrow ? : Arrow ; description description endArrow ? : Arrow ; description description lineAppendWidth ? : number ; description description default lineCap ? : 'bevel' | 'round' | 'miter' ; description description default lineJoin ? : 'bevel' | 'round' | 'miter' ; description description miterLimit ? : number ; } interface PathProps extends CommonProps { description style : PathStyle ; } const Path = ( props ) => { const { children , ... rest } = props ; return ( < div data - attr = { { ... rest , type : 'path' , } } > { children } < /div>); } ; export default Path ;