react-spectrum
[useButton & useToggleButton]: Add dynamic ref type depending on elementType props
#1191
Merged

[useButton & useToggleButton]: Add dynamic ref type depending on elementType props #1191

devongovett merged 9 commits into adobe:main from antoinelin:main
antoinelin
antoinelin antoinelin force pushed from 0b7c4ace to 7e39f784 5 years ago
snowystinger
snowystinger commented on 2020-10-25
antoinelin antoinelin force pushed from 7e39f784 to 68f37488 5 years ago
devongovett
devongovett commented on 2020-10-26
devongovett
devongovett commented on 2020-10-26
snowystinger
snowystinger commented on 2020-10-26
snowystinger
snowystinger commented on 2020-11-09
devongovett
antoinelin antoinelin marked this pull request as ready for review 5 years ago
antoinelin antoinelin requested a review from dannify dannify 5 years ago
antoinelin [useButton & useToggleButton]: Add dynamic ref type depending on elem…
8baf4d21
antoinelin fix: removed the script case from functions overloading
4e6f2026
antoinelin refactor: move the elementType props from LinkButtonProps to AriaBase…
2d91bf5e
antoinelin refactor: removed audio, br, meta, object, param, style, track, video…
fb9c2fdb
antoinelin refactor: limit usage to a, button, div, input and span + fix missing…
18d721c8
antoinelin refactor: removed LinkProps from AriaToggleButtonProps
d9b647fa
antoinelin refactor: scoped eslint comment disabling no-redeclare
0b0dd119
devongovett Move elementType out of spectrum specific props
ff230b6d
devongovett devongovett force pushed from 9d2b4437 to ff230b6d 5 years ago
devongovett
devongovett Fix docs and tests
4abaa8f7
antoinelin
devongovett
devongovett approved these changes on 2020-11-18
devongovett devongovett merged 53fdc713 into main 5 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone