mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 22:18:08 -05:00
Merge pull request #492 from airbnb/no-export-prop-types
do not export propTypes
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user