You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.
ImageGallery.propTypes=propTypes({classes: t.Object,className: t.maybe(t.String),// applied to root objectwidth: t.maybe(t.String),// from withWidth() - needed for breakpointsimages: t.list(GalleryImage),actionIconType: t.Function,// this is a React ElementonSelect: t.maybe(t.Function),onPictureClick: t.maybe(t.Function),children: t.maybe(t.list(t.Object))},{strict: true});
I had this
propTypes
declaration:which is used like this:
The
actionIconType
prop is a React Element, but it never matches. We had to convert it tot.Function
for it to accept functional components.The text was updated successfully, but these errors were encountered: