Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    React.PropTypes is deprecated in v15.5

    Note: React.PropTypes is deprecated as of React v15.5. Please use the prop-types library instead.

    Use propTypes in Reusable React Native Components

    react-nativeReact Native
    0.3 - 0.53
    reactReact
    0.14 - 16

    In this React Native lesson, we will be creating a reusable Badge component. The component will also make use of propTypes to validate that its required data is being passed in when it is used.