code: function Segment(props) {
      var segmentStyle = props.segmentStyle;
      var fillStyle = props.fillStyle;
  
      var commonStyle = { position: 'absolute' };
      return React.createElement(
        'div',
        { style: _extends({}, commonStyle, segmentStyle) },
        React.createElement('div', { style: _extends({}, commonStyle, fillStyle) })
      );
    }
docs: React component for segments