use context to pick default pressable component
This commit is contained in:
@@ -468,6 +468,7 @@ export const Button = React.forwardRef<View, ButtonProps>(
|
||||
role="button"
|
||||
accessibilityHint={undefined} // optional
|
||||
{...rest}
|
||||
// @ts-expect-error ref type
|
||||
ref={ref}
|
||||
aria-label={label}
|
||||
aria-pressed={state.pressed}
|
||||
|
||||
Reference in New Issue
Block a user