function styledMarkSeries()

in packages/website/storybook/markseries-story.js [19:41]


function styledMarkSeries(props) {
  return (
    <MarkSeries
      data={props.data}
      opacity={number(
        'opacity',
        props.opacity || 1,
        {max: 1, min: 0, range: true, step: 0.01},
        'style'
      )}
      fill={color('fill', props.fill || '#12939a', 'style')}
      stroke={color('stroke', props.stroke || '#12939a', 'style')}
      strokeStyle={select(
        'strokeStyle',
        {solid: 'solid', dashed: 'dashed'},
        props.strokeStyle || 'solid',
        'style'
      )}
      strokeWidth={number('strokeWidth', props.strokeWidth || 2, 'style')}
      style={object('style', props.style || {}, 'style')}
    />
  );
}