-
Notifications
You must be signed in to change notification settings - Fork 616
Addinng more properties to playground story for token & skeletonText #6096
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
Conversation
|
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.
Pull Request Overview
This PR enhances the Token
component’s Storybook Playground by adding new boolean controls, event actions, and support for a leading icon.
- Added imports for
action
(Storybook addon) andGitBranchIcon
- Updated the
Playground
story to conditionally hook uponRemove
/onClick
actions and render a leading icon - Extended
Playground.args
andargTypes
withisSelected
,leadingVisual
,hideRemoveButton
,onRemove
, andonClick
size-limit report 📦
|
Changelog
This pull request updates the
Token
component's Storybook stories to enhance thePlayground
story with additional props and interactivity. The changes include adding new controls for boolean props, integrating actions for event handlers, and supporting a leading visual icon.Also add more properties to SkeletonText playground story
New
Changed
Removed
Rollout strategy
Just updating storybook story.
Testing & Reviewing
Merge checklist