Closed Adam-Schlichtmann closed 2 years ago
Thanks for reporting. Yeah, I assume this is because we're not differentiating types based on the platform? Not a TypeScript expert... anyone willing to try to fix it?
hi, I would like to work on this issue. can you please break down tasks for me?
Hey @DilipCoder , I'd love to give you more details but I'm not too familiar with this part of TypeScript. Basically, we'd need to differentiate props depending on what Platform.OS is. Not sure how other repos are handling this
okay I am forking the repository will raise a PR this weekend
Hey @DilipCoder, How does it go? I can do it if you don't mind.
hey i was going through the design patterns used in this repo. I will raise the draft pr soon.
Hi! So this is weird, I am still having the same error as the primary issue here I was trying to follow up the progress of this, then I saw this issue was solved in between some versions (I think version 10), but I am still getting the same error and the version of my package is 13, which is the latest release.
"@react-native-community/datetimepicker": "^4.0.1",
"react-native-modal-datetime-picker": "^13.0.0",
edit: okay, this is even weirder xD, the code compiles anyway and it's showing the modal as it is suppose to be. still weird. just refreshed all the caches and didn't change :thinking:
@toothlesspanda the issue has not been solved :) We're waiting for contributions in #585
@mmazzarolo I applied your request changes in that PR, I will commit later 🙏🏾
edit: sorry, I am @toothlesspanda, just switched to my professional account and forgot about it xD
thank you!
closed #636
Environment
Expo Snack
Platforms
iOS - IPad Air 3
Versions
Description
Display prop is giving a TS error when set to inline or compact EDIT: This is also an issue for setting the display prop to calendar or clock (Anything that isn't spinner or default)
Reproducible Demo
Example using both packages available Expo Snack