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
Release 3.0 comes with a number of breaking changes. Please review the items applicable in your case.
Photo album component and CSS stylesheet
v3 provides 4 different components depending on the layout you intend to use. Each component comes with its own CSS stylesheet. CSS stylesheet is not optional!
renderContainer is no longer supported. Use render.container instead.
renderRowContainer
renderRowContainer is no longer supported. Use render.track instead.
renderColumnContainer
renderColumnContainer is no longer supported. Use render.track instead.
renderPhoto
renderPhoto is no longer supported. Use render.image, render.wrapper, render.link, render.button or render.photo instead.
componentsProps.containerProps
componentsProps.containerProps is no longer supported. Use componentsProps.container instead.
componentsProps.rowContainerProps
componentsProps.rowContainerProps is no longer supported. Use componentsProps.track instead.
componentsProps.columnContainerProps
componentsProps.columnContainerProps is no longer supported. Use componentsProps.track instead.
componentsProps.imageProps
componentsProps.imageProps is no longer supported. Use componentsProps.image, componentsProps.wrapper, componentsProps.link or componentsProps.button instead.
Photo images prop
The deprecated images prop is no longer supported. Use srcSet instead.
The text was updated successfully, but these errors were encountered:
v3 Breaking Changes
Release 3.0 comes with a number of breaking changes. Please review the items applicable in your case.
Photo album component and CSS stylesheet
v3 provides 4 different components depending on the layout you intend to use. Each component comes with its own CSS stylesheet. CSS stylesheet is not optional!
Rows layout:
Columns layout:
Masonry layout:
3-in-1:
If you use more than one layout in our app, you may opt for the aggregate component, which bundles all three layouts.
React version
React 18 is the minimum supported React version.
Node version
Node 18 is the minimum supported Node version.
ESM
The library is now ESM-only.
renderContainer
renderContainer
is no longer supported. Userender.container
instead.renderRowContainer
renderRowContainer
is no longer supported. Userender.track
instead.renderColumnContainer
renderColumnContainer
is no longer supported. Userender.track
instead.renderPhoto
renderPhoto
is no longer supported. Userender.image
,render.wrapper
,render.link
,render.button
orrender.photo
instead.componentsProps.containerProps
componentsProps.containerProps
is no longer supported. UsecomponentsProps.container
instead.componentsProps.rowContainerProps
componentsProps.rowContainerProps
is no longer supported. UsecomponentsProps.track
instead.componentsProps.columnContainerProps
componentsProps.columnContainerProps
is no longer supported. UsecomponentsProps.track
instead.componentsProps.imageProps
componentsProps.imageProps
is no longer supported. UsecomponentsProps.image
,componentsProps.wrapper
,componentsProps.link
orcomponentsProps.button
instead.Photo
images
propThe deprecated
images
prop is no longer supported. UsesrcSet
instead.The text was updated successfully, but these errors were encountered: