Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Better display for default props those are functions #17

Closed
ritz078 opened this issue Jun 23, 2016 · 2 comments
Closed

Better display for default props those are functions #17

ritz078 opened this issue Jun 23, 2016 · 2 comments

Comments

@ritz078
Copy link

ritz078 commented Jun 23, 2016

Currently it shows as
screen shot 2016-06-23 at 10 03 08 pm

Issues:

  • Formatting and Highlighting not present
  • Displayed code should be ES2015
@roonyh
Copy link
Contributor

roonyh commented Jun 24, 2016

Displaying default values is improved in #16 for functions and some other stuff as well. For functions only the function name is displayed. Function body is not shown at all. What do you think?

#16 is in v3.0.7

@ritz078
Copy link
Author

ritz078 commented Jun 24, 2016

I understand its tough to show the whole function that too in ES2015. But just a function is incomplete information. It won't help the user anyway until that function is documented anywhere.

@ritz078 ritz078 closed this as completed Mar 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants