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

Add dotColor and updated dots #29

Merged
merged 2 commits into from Nov 30, 2017
Merged

Add dotColor and updated dots #29

merged 2 commits into from Nov 30, 2017

Conversation

TeaSeaLancs
Copy link
Contributor

This PR updates the version of material-ui-dots and adds a dotColor property which passes through to the Dots component.

@@ -195,6 +195,7 @@ export default class AutoRotatingCarousel extends Component {
index={modulo(this.state.slideIndex, this.props.children.length)}
style={landscape ? style.dotsLandscape : style.dots}
onDotClick={this.handleChange}
dotColor={this.props.dotColor}
Copy link
Member

Choose a reason for hiding this comment

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

This prop should be destructured above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you elaborate on what you mean by that? I'm not seeing any other destructuring of this.props.

Copy link
Member

Choose a reason for hiding this comment

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

You're right… nevermind.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

@leMaik
Copy link
Member

leMaik commented Nov 30, 2017

@TeaSeaLancs Thank you! 👍

@leMaik leMaik merged commit ecddcbd into TeamWertarbyte:master Nov 30, 2017
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.

2 participants