import React, {PropTypes} from 'react'; import createNativeComponent from '../lib/createNativeComponent'; import mergeContext from '../lib/mergeContext'; import Shape from './Shape'; import {lineProps, pathProps, fillProps, strokeProps, numberProp} from '../lib/props'; class Line extends Shape { static displayName = 'Line'; static propTypes = { ...pathProps, ...lineProps }; static contextTypes = { ...fillProps, ...strokeProps, ...lineProps, isInGroup: PropTypes.bool, svgId: numberProp }; render() { let props = mergeContext(this.props, this.context); return ; } } const RNSVGLine = createNativeComponent('RNSVGLine'); export default Line;