Closed kossel closed 6 years ago
When something isn’t working for you, include a reproducible demo:
- Fork the example project: https://github.com/styleguidist/example
- Modify it to reproduce the issue.
- Push to GitHub and paste the link here.
Most likely you’ll find an issue yourself, while creating a demo.
Issues without a demo will be closed!
We are spliting the UI with the styling of our components, eg: l Button.jsx
StyledButton.jsx
PropTypes doesn't show in styleguide.
tried with
@component
annotation, without success (got warningTypeError: Attempted to resolveName for an unsupported path. resolveName accepts a VariableDeclaration, FunctionDeclaration, or FunctionExpression. Got "CallExpression".
)current our work around is create a wrapper component to trick styleguidist...
Is there a better way for this?