1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

Fix customThumbnailPlacholder propType

This commit is contained in:
Brett Sun 2015-12-04 13:52:17 +01:00
parent 904a6ce15a
commit 9d02877363
4 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ let AccordionListItemPiece = React.createClass({
subsubheading: React.PropTypes.object, subsubheading: React.PropTypes.object,
buttons: React.PropTypes.object, buttons: React.PropTypes.object,
badge: React.PropTypes.object, badge: React.PropTypes.object,
thumbnailPlaceholder: React.PropTypes.element thumbnailPlaceholder: React.PropTypes.func
}, },
getDefaultProps() { getDefaultProps() {

View File

@ -31,7 +31,7 @@ let AccordionListItemWallet = React.createClass({
propTypes: { propTypes: {
className: React.PropTypes.string, className: React.PropTypes.string,
content: React.PropTypes.object, content: React.PropTypes.object,
thumbnailPlaceholder: React.PropTypes.element, thumbnailPlaceholder: React.PropTypes.func,
children: React.PropTypes.oneOfType([ children: React.PropTypes.oneOfType([
React.PropTypes.arrayOf(React.PropTypes.element), React.PropTypes.arrayOf(React.PropTypes.element),
React.PropTypes.element React.PropTypes.element

View File

@ -38,7 +38,7 @@ let PieceList = React.createClass({
canLoadPieceList: React.PropTypes.bool, canLoadPieceList: React.PropTypes.bool,
redirectTo: React.PropTypes.string, redirectTo: React.PropTypes.string,
customSubmitButton: React.PropTypes.element, customSubmitButton: React.PropTypes.element,
customThumbnailPlaceholder: React.PropTypes.element, customThumbnailPlaceholder: React.PropTypes.func,
filterParams: React.PropTypes.array, filterParams: React.PropTypes.array,
orderParams: React.PropTypes.array, orderParams: React.PropTypes.array,
orderBy: React.PropTypes.string, orderBy: React.PropTypes.string,

View File

@ -17,7 +17,7 @@ import { getLangText } from '../../../../../utils/lang_utils';
let MarketPieceList = React.createClass({ let MarketPieceList = React.createClass({
propTypes: { propTypes: {
customThumbnailPlaceholder: React.PropTypes.element, customThumbnailPlaceholder: React.PropTypes.func,
location: React.PropTypes.object location: React.PropTypes.object
}, },