function styledSeries()

in packages/website/storybook/barseries-story.js [22:38]


  function styledSeries(props) {
    return (
      <Series
        color={color('color', props.color || null, 'style')}
        data={props.data}
        fill={(color('fill', props.fill || '#12939a'), 'style')}
        opacity={number(
          'opacity',
          props.opacity || 1,
          {max: 1, min: 0, range: true, step: 0.01},
          'style'
        )}
        stroke={color('stroke', props.stroke || '#12939a', 'style')}
        style={object('style', props.style || {}, 'style')}
      />
    );
  }