mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 20:25:33 +08:00
Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github
Reviewed By: acdlite Differential Revision: D4876709 fbshipit-source-id: 3a5e92bfc74287b7a9054546c438580bed0147af
This commit is contained in:
committed by
Facebook Github Bot
parent
8085ceca6a
commit
6564edce5e
@@ -12,11 +12,13 @@
|
||||
|
||||
var React = require('React');
|
||||
|
||||
var PropTypes = require('prop-types');
|
||||
|
||||
var slugify = require('slugify');
|
||||
|
||||
var Header = React.createClass({
|
||||
contextTypes: {
|
||||
permalink: React.PropTypes.string
|
||||
permalink: PropTypes.string
|
||||
},
|
||||
|
||||
render: function() {
|
||||
|
||||
Reference in New Issue
Block a user