File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,10 @@ type Props<T> = {
176176 * This is an experimental prop and may be removed or changed in the future
177177 */
178178 _earlyBailout ?: ( columnSpan : number ) => number ;
179+ /**
180+ * Experimental flag to enable new multi column position layout algorithm
181+ */
182+ _multiColPositionAlgoV2 ?: boolean ;
179183} ;
180184
181185type MasonryRef = {
@@ -674,6 +678,7 @@ function Masonry<T>(
674678 _dynamicHeights,
675679 _dynamicHeightsV2Experiment,
676680 _earlyBailout,
681+ _multiColPositionAlgoV2,
677682 } : Props < T > ,
678683 ref :
679684 | {
@@ -826,6 +831,7 @@ function Masonry<T>(
826831 _getColumnSpanConfig,
827832 _getResponsiveModuleConfigForSecondItem,
828833 _earlyBailout,
834+ _multiColPositionAlgoV2,
829835 } ) ;
830836 useEffect ( ( ) => {
831837 maxHeightRef . current = height ;
You can’t perform that action at this time.
0 commit comments