Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

breakLabel now accept a react node as value #257

Merged
merged 1 commit into from
Jan 16, 2019
Merged

Conversation

dbenchi
Copy link
Contributor

@dbenchi dbenchi commented Jan 15, 2019

fix #256

@@ -23,6 +23,7 @@ const BreakView = props => {
};

BreakView.propTypes = {
breakLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,
breakLabel: PropTypes.string.isRequired,
Copy link
Owner

@AdeleD AdeleD Jan 15, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to remove this line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol I forget it. I will take care tomorrow morning

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed prop type: Invalid prop breakLabel of type object supplied to BreakView, expected string.
2 participants