Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Type error on Pressable component when adding inputProps #22

Open
CoryWritesCode opened this issue Sep 30, 2021 · 1 comment
Open

Type error on Pressable component when adding inputProps #22

CoryWritesCode opened this issue Sep 30, 2021 · 1 comment

Comments

@CoryWritesCode
Copy link

I'm only looking to implement this component via ios/android and I just adjusted a bit from what your docs show and I'm getting this TS error. Any ideas what it could be?

image

@CoryWritesCode
Copy link
Author

I get the correct props if I do

const inputProps = useRadio({ isReadOnly, isDisabled, ...props }, context, inputRef);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant