1×
Become a member
to unlock all features
Autoplay

    Toggle Hidden Details on a React Native Event Card

    react-nativeReact Native
    0.38.0
    reactReact
    ^15.4.0

    In this lesson we'll create an event details card with basic information displayed. On press basic information will slide up to present additional information. We'll use state and the componentDidUpdate callback to trigger our animations. Depending our state we'll use Animated.timing to animate the information in and out. We'll use a series interpolate on our Animated.Value to rotate the arrow, and translate our information into view.