Skip to content

BarChart: missing function argument at styling #291

@siavelis

Description

@siavelis

Documentation says that the component provides a prop for styling using a function. Like this below:

function: `(event, column) => {}` The function should return a style object.

But the event is not passed in the function (see

} else if (_.isFunction(this.props.style)) {
style = this.props.style(column);
)

It is an easy fix, so I'm submitting a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions