-
Notifications
You must be signed in to change notification settings - Fork 146
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
feat(toolbar): add Toolbar
, ToolbarButton
, and ToolbarGroup
components
#1103
Conversation
Toolbar
, ToolbarButton
, and ToolbarGroup
components
✔️ Deploy Preview for ibm-cloud-cognitive ready! 🔨 Explore the source changes: 7955f8b 🔍 Inspect the deploy log: https://app.netlify.com/sites/ibm-cloud-cognitive/deploys/611bd8e898b11400073f910c 😎 Browse the preview: https://deploy-preview-1103--ibm-cloud-cognitive.netlify.app/ |
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.
Looks easy to consume and use @SimonFinney . I like the composition model
Toolbar
, ToolbarButton
, and ToolbarGroup
componentsToolbar
, ToolbarButton
, and ToolbarGroup
components
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.
So I prefer this DOM composition style to the use of shapes as a developer, but we have intentionally been more restrictive to enforce the design.
Probably worth another discussion in slack/in team meeting.
LGTM. We can discuss the API as we progress toward review, but for a component that needs to hold a variety of different controls by design this looks like a pretty good and straightforward approach to me. |
Affected issues
Proposed change
Add initial
Toolbar
,ToolbarButton
, andToolbarGroup
documentation, logic, tests, styles, and stories.