do not export propTypes

We decided to stick with the decision to not export `propTypes`, and leave them as only a static property on the default export.

/@josh-perez @gilbox
This commit is contained in:
Jordan Harband
2015-08-28 13:57:30 -07:00
parent 8a628311ac
commit 3307caf5a0

View File

@@ -262,7 +262,7 @@
```javascript
import React, { Component, PropTypes } from 'react';
export const propTypes = {
const propTypes = {
id: PropTypes.number.isRequired,
url: PropTypes.string.isRequired,
text: PropTypes.string,