Skip to content

Option to print props on a single line when component has children - #41

Open
dwoznicki wants to merge 3 commits into
grommet:masterfrom
dwoznicki:single-line-props
Open

Option to print props on a single line when component has children#41
dwoznicki wants to merge 3 commits into
grommet:masterfrom
dwoznicki:single-line-props

Conversation

@dwoznicki

Copy link
Copy Markdown

Potential solution for #40
Adds a boolean option singleLineProps to make props print on a single line. Defaults to false.
Note that this solution is pretty naive. Something more robust might involve setting a max characters per line, but this works perfectly for my use case.

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