How to handle Web only properties with Typescript? #1876
Answered by baptisteArno
baptisteArno asked this question in Q&A
-
| Hi! How can I handle web only properties when using Typescript? Example 1: <Switch trackColor={{ false: blue, true: blue }} onValueChange={() => onUnitChange(currentUnit === "inches" ? "cm" : "inches") } value={currentUnit === "inches"} activeThumbColor={"white"} />
Example 2: const { getStyleElement } = AppRegistry.getApplication(config.name); |
Beta Was this translation helpful? Give feedback.
Answered by baptisteArno Jan 14, 2021
Replies: 1 comment
-
| Ok I found more info here: #1684 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by necolas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Ok I found more info here: #1684