react-styleguidist icon indicating copy to clipboard operation
react-styleguidist copied to clipboard

Function argument list not properly rendered

Open yo35 opened this issue 4 years ago • 2 comments

Current behavior

For attributes of type PropTypes.func that have several arguments, the documentation relative to the arguments is concatenated in a single line, making it difficult to read.

To reproduce

https://github.com/yo35/styleguidist-example/tree/bug-callback-argument-list

  • npm start
  • look at "Props & methods" section of component Button

arg-list

Expected behavior

Argument documentation presented a way that makes it easy to read, for instance with argument per line:

expected-arg-list

yo35 avatar Jul 29 '21 10:07 yo35

😴 This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week without any further activity. Consider opening a pull request if you still have this issue or want this feature.

stale[bot] avatar Apr 16 '22 06:04 stale[bot]

Any news regarding this issue?

yo35 avatar Apr 21 '22 08:04 yo35