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 line break between description and extra when rendering props #290

Merged
merged 3 commits into from
Jan 23, 2017

Conversation

goodmorninggoaway
Copy link
Contributor

No description provided.

Copy link
Member

@sapegin sapegin left a comment

Choose a reason for hiding this comment

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

Thanks!

@@ -59,6 +59,7 @@ function renderDescription(prop) {
return (
<Group>
{description && <Markdown text={description} inline />}
{extra && description && <br />}
Copy link
Member

Choose a reason for hiding this comment

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

Better to use <Group separator={<br />}>.

@sapegin sapegin merged commit 1e24b1d into styleguidist:master Jan 23, 2017
@sapegin
Copy link
Member

sapegin commented Jan 23, 2017

Thanks!

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