mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Fix customThumbnailPlacholder propType
This commit is contained in:
parent
904a6ce15a
commit
9d02877363
@ -21,7 +21,7 @@ let AccordionListItemPiece = React.createClass({
|
||||
subsubheading: React.PropTypes.object,
|
||||
buttons: React.PropTypes.object,
|
||||
badge: React.PropTypes.object,
|
||||
thumbnailPlaceholder: React.PropTypes.element
|
||||
thumbnailPlaceholder: React.PropTypes.func
|
||||
},
|
||||
|
||||
getDefaultProps() {
|
||||
|
@ -31,7 +31,7 @@ let AccordionListItemWallet = React.createClass({
|
||||
propTypes: {
|
||||
className: React.PropTypes.string,
|
||||
content: React.PropTypes.object,
|
||||
thumbnailPlaceholder: React.PropTypes.element,
|
||||
thumbnailPlaceholder: React.PropTypes.func,
|
||||
children: React.PropTypes.oneOfType([
|
||||
React.PropTypes.arrayOf(React.PropTypes.element),
|
||||
React.PropTypes.element
|
||||
|
@ -38,7 +38,7 @@ let PieceList = React.createClass({
|
||||
canLoadPieceList: React.PropTypes.bool,
|
||||
redirectTo: React.PropTypes.string,
|
||||
customSubmitButton: React.PropTypes.element,
|
||||
customThumbnailPlaceholder: React.PropTypes.element,
|
||||
customThumbnailPlaceholder: React.PropTypes.func,
|
||||
filterParams: React.PropTypes.array,
|
||||
orderParams: React.PropTypes.array,
|
||||
orderBy: React.PropTypes.string,
|
||||
|
@ -17,7 +17,7 @@ import { getLangText } from '../../../../../utils/lang_utils';
|
||||
|
||||
let MarketPieceList = React.createClass({
|
||||
propTypes: {
|
||||
customThumbnailPlaceholder: React.PropTypes.element,
|
||||
customThumbnailPlaceholder: React.PropTypes.func,
|
||||
location: React.PropTypes.object
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user