Skip to content

Commit

Permalink
Support newer react versions that deprecated PropTypes.
Browse files Browse the repository at this point in the history
  • Loading branch information
LowieHuyghe committed Nov 9, 2017
1 parent 55d4cef commit c5965bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion HyperlinkedText.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
* @providesModule react-native-hyperlinked-text
*/

import React, { Component, PropTypes } from 'react'
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
View,
Text,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"react-native", "hyperlink", "hyperlinks", "regex", "links"
],
"dependencies": {
"prop-types": "^15.6.0",
"ramda": "^0.24.1"
},
"description": "Text component for React Native with regex defined hyperlinks",
Expand Down

0 comments on commit c5965bd

Please sign in to comment.