Prerequisites
Bug description
As per #183 edit section, the React Aria onPress prop cannot be used in <Button> as ButtonProps intentionally doesn't build on/extend React Aria's ButtonProps.
Steps to reproduce
Try to pass onPress as prop to <Button>
Expected behavior
No TypeScript error
Actual behavior
TypeScript error due to lack of support in ButtonProps
Code example
Browser
No response
Device type
No response
Component version
No response
Environment details
No response
Screenshots/Videos
No response
Console errors
Additional context
No response
Accessibility impact
Prerequisites
Bug description
As per #183 edit section, the React Aria
onPressprop cannot be used in<Button>asButtonPropsintentionally doesn't build on/extend React Aria'sButtonProps.Steps to reproduce
Try to pass
onPressas prop to<Button>Expected behavior
No TypeScript error
Actual behavior
TypeScript error due to lack of support in
ButtonPropsCode example
Browser
No response
Device type
No response
Component version
No response
Environment details
No response
Screenshots/Videos
No response
Console errors
Additional context
No response
Accessibility impact