react-spectrum
react-spectrum copied to clipboard
feat: 🎸 add press events to Tab
✅ Closes: #6810
✅ Pull Request Checklist:
- [x] Included link to corresponding React Spectrum GitHub Issue.
- [x] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
- [x] Filled out test instructions.
- [x] Updated documentation (if it already exists for this component).
- [x] Looked at the Accessibility Practices for this feature - Aria Practices
📝 Test Instructions:
-
yarn start - Navigate to Tabs Example in React Aria Components in Storybook
- Notice that clicking on a Tab fires press event actions
- Notice no breaking changes to existing tab behavior