react-spectrum
a8ec9667 - Allow passing of inputRef to RAC Checkbox/Switch (#5967)

Comment changes are shownComment changes are hidden
Commit
1 year ago
Allow passing of inputRef to RAC Checkbox/Switch (#5967) * Allow passing of inputRef to RAC Checkbox/Switch * make optional, add tests * merge refs * fix ts? * fix/update tests * move declaration of inputRef * add doc comments * remove defaultInputRef --------- Co-authored-by: Devon Govett <devongovett@gmail.com>
Author
Parents
  • packages
    • @react-aria/utils/src
      • File
        mergeRefs.ts
    • react-aria-components
      • src
        • File
          Checkbox.tsx
        • File
          Switch.tsx
      • test
        • File
          Checkbox.test.js
        • File
          Switch.test.js