-
Notifications
You must be signed in to change notification settings - Fork 42
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
Dropdown API children improvement #1403
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.
looks good. i like that it's backwards compatible!
don't forget to add changeset and unit test.
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.
Minor suggestion, but other than that it looks good to go
@@ -44,6 +44,7 @@ export type DropdownMenuProps = { | |||
* Item #3 | |||
* </MenuItem>, | |||
* ]; | |||
* |
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.
Nitpicky, but I would remove this added line just to keep the changes as concise as possible
Changes
JSX.Element[]
andJSX.Element
formenuItems
propTesting
Docs