Commit Graph

3 Commits

Author SHA1 Message Date
Evan Bacon
033a6d3167 [web] Added active prop (#88)
# Why

[`react-navigation-stack`](https://github.com/react-navigation/react-navigation-stack/pull/105) relies on Screens to be removed when the active prop is falsey.

# How

Set `display: none` when the `active` prop is `false` or an `Animated.Value` with a value of `0`.

Related: https://github.com/react-navigation/react-navigation-stack/pull/105
2019-04-19 12:18:08 +02:00
Krzysztof Magiera
d940a02fac Add compatibility layer for screens so that they can be used when native lib is not installed. 2018-09-07 13:45:20 +02:00
Krzysztof Magiera
31281d6b68 Initial commit. 2018-08-03 13:54:11 +02:00