-
Notifications
You must be signed in to change notification settings - Fork 7
Add Select Options slot support #1167
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
🦋 Changeset detectedLatest commit: b672a6b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
18faa9c
to
e789f71
Compare
e789f71
to
ca15de9
Compare
} | ||
}, | ||
); | ||
}); |
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.
I debated an abstraction for cases like this. But it's pretty simple as is. So I don't know what would be abstracted. We also only have a few instances of tests that test a component in another component.
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.
I like this!
return firstAssignedElement instanceof Options | ||
? firstAssignedElement | ||
: null; | ||
?.find((element): element is Options => element instanceof Options); |
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.
Same logic as Menu here and above.
ce63c93
to
732140e
Compare
732140e
to
b672a6b
Compare
} | ||
}, | ||
); | ||
}); |
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.
I like this!
🚀 Description
📋 Checklist
🔬 Manual Testing
A tough one to test manually. But you're welcome to manipulate Select's story locally.