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

doc: add avatar storybook #97

Merged
merged 2 commits into from
May 28, 2023
Merged

doc: add avatar storybook #97

merged 2 commits into from
May 28, 2023

Conversation

pcshen0828
Copy link
Contributor

Why need this change? / Root cause:

  • Add storybook documentation for the Avatar component to demonstrate the usage and variants.
  • Refactor the Avatar component to enable the square shape.

Changes made:

  • Create Avatar.stories.tsx.
  • Refactor Avatar.tsx.

Test Scope / Change impact:

Issue

@pcshen0828 pcshen0828 force-pushed the doc/avatar-storybook branch from abb6482 to bc380ce Compare May 28, 2023 08:40
@pcshen0828 pcshen0828 changed the title doc: add storybook documentation for the avatar component doc: add avatar storybook May 28, 2023
@pcshen0828 pcshen0828 added documentation Improvements or additions to documentation, ex, storybook, readme refactor refactor the changes already merged. labels May 28, 2023
@pcshen0828 pcshen0828 self-assigned this May 28, 2023
@pcshen0828 pcshen0828 linked an issue May 28, 2023 that may be closed by this pull request
@HongLinLiao HongLinLiao merged commit a0f58ba into main May 28, 2023
@HongLinLiao HongLinLiao deleted the doc/avatar-storybook branch May 28, 2023 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation, ex, storybook, readme refactor refactor the changes already merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

新增 Avatar 的 Storybook 與樣式重構
2 participants