# Importing PropTypes

**URL:** <https://forum.freecodecamp.org/t/importing-proptypes/254568>\
**Category:** General\
**Created:** [January 26, 2019, 2:28pm UTC](https://forum.freecodecamp.org/t/importing-proptypes/254568 "2019-01-26T14:28:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![standifs](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@standifs](https://forum.freecodecamp.org/u/standifs)\
**Post date:** [January 26, 2019, 2:28pm UTC](https://forum.freecodecamp.org/t/importing-proptypes/254568/1 "2019-01-26T14:28:33Z")

</div>

**Tell us what’s happening:**

Not a question so much as a comment about importing Proptypes. The official React website specifies a different way of importing Proptypes now:

import PropTypes from ‘prop-types’;

If you’re building your own React apps, make sure to import it this way so it’ll recognize it when you go to use it!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:05pm UTC](https://forum.freecodecamp.org/t/importing-proptypes/254568/2 "2021-01-17T20:05:58Z")

</div>

Closed on January 17, 2021, 8:05pm UTC


