Skip to content
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

docs: added icon only button doc & some other button doc improvements #4562

Merged
merged 5 commits into from
Mar 6, 2025

Conversation

swapnilmmane
Copy link
Contributor

Done following:

  1. Added documentation for the Icon-only button, which has a dedicated component.
  2. Improved example code for the Button component.

Revamped the button documentation to enhance the developer experience.
The new docs consolidate all stories in one place,
including sample code and provide an interactive props
table where users can modify props and see live variations of the button.
Done the following changes:

1. Added webiny-admin-storybook-docs command in package.json to generatedocs
while skipping the story list in side navigation.
2. Added storybook-docs command to start Storybook in docs-only mode on port 6007.
3. Included button variation examples with code samples.
4. Defined all argTypes (props) in Button.stories.tsx to make them available in the Props table.
This improves the discoverability, usability, and interactivity of the button documentation.
@swapnilmmane swapnilmmane changed the title docs: added icon only button doc & some other button doc improvement docs: added icon only button doc & some other button doc improvements Mar 6, 2025
@swapnilmmane swapnilmmane merged commit feeeeee into feat/new-admin-ui Mar 6, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants