-
Notifications
You must be signed in to change notification settings - Fork 639
A ref forwarding to two more SelectMenu components #957
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
Co-authored-by: Cole Bemis <[email protected]>
Bumps @primer/gatsby-theme-doctocat from 1.2.0 to 1.3.0. Signed-off-by: dependabot[bot] <[email protected]>
…er/gatsby-theme-doctocat-1.3.0 Bump @primer/gatsby-theme-doctocat from 1.2.0 to 1.3.0 in /docs
Add Gatsby installation to startup docs
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/primer/primer-components/ci5mfcrkb |
index.d.ts
Outdated
interface SelectMenuItemCommonProps extends CommonProps { | ||
selected?: boolean; | ||
selected?: boolean | ||
ref?: React.RefObject<HTMLAnchorElement> | React.RefObject<HTMLDivElement> | null |
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.
Most of the time we expect people to use the default a
tag on SelectMenu.Item, but in ✨ another project at GitHub ✨ folks are using the SelectMenu.Item as a button
This PR adds ref forwarding to SelectMenu.Filter and SelectMenu.Item
Closes #949
Screenshots
Merge checklist
index.d.ts
) if necessaryTake a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.