Skip to content

Conversation

EdDevs2503
Copy link

Little change with props children use in the circle

@EdDevs2503
Copy link
Author

Props Children merged

const strokeLinecap = roundedStroke ? 'round' : 'butt';
const svgSize = responsive ? '100%' : size;

const children = this.props.children
Copy link
Owner

Choose a reason for hiding this comment

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

Can you add this to the existing destructuring above?

@zzarcon
Copy link
Owner

zzarcon commented Feb 14, 2020

Thanks for the PR @EdDevs2503 !

Can you add a unit test to make sure we render the children when they are given? thanks!

@zzarcon
Copy link
Owner

zzarcon commented Feb 14, 2020

We should also add children prop to CircleProps

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