-
Notifications
You must be signed in to change notification settings - Fork 63
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
Adding docs to Button and migrating to MDX #762
Conversation
✔️ Deploy Preview for storeui ready! 🔨 Explore the source changes: cd1a504 🔍 Inspect the deploy log: https://app.netlify.com/sites/storeui/deploys/60ca6c1e62d08700087163e9 😎 Browse the preview: https://deploy-preview-762--storeui.netlify.app/iframe |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit cd1a504:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job!
Muito Bom! |
b09ed38
to
fdfae10
Compare
* Adding docs to Button and migrating to MDX * Fix optional typing * Fix show code content * Fix prop description * Removing href prop from button * Removing href and as props
What's the purpose of this pull request?
I think we can't write a scalable, good and accessible documentation with the TSX format. MDX make it more accessible for other people to suggest or add more information to our components and adds some more things that we can do with Markdown + JSX.
How it works?
This PR adds an example of MDX story for Storybook and creates docs for Button. I'll migrate the other components if this PR makes sense.
How to test it?
https://deploy-preview-762--storeui.netlify.app/?path=/docs/atoms-button--button
References
Storybook MDX docs