1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 09:35:10 +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,
buttons: React.PropTypes.object,
badge: React.PropTypes.object,
thumbnailPlaceholder: React.PropTypes.element
thumbnailPlaceholder: React.PropTypes.func
},
getDefaultProps() {

View File

@ -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

View File

@ -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,

View File

@ -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
},