-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Masonry] Implement Masonry using Flexbox (#28059)
- Loading branch information
Showing
48 changed files
with
573 additions
and
885 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<Masonry columns={4} spacing={1}> | ||
{heights.map((height, index) => ( | ||
<MasonryItem key={index}> | ||
<Item sx={{ height }}>{index + 1}</Item> | ||
</MasonryItem> | ||
<Item key={index} sx={{ height }}> | ||
{index + 1} | ||
</Item> | ||
))} | ||
</Masonry> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
docs/src/pages/components/masonry/DiffColSizeMasonry.tsx.preview
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
docs/src/pages/components/masonry/DiffColSizeMasonryBroken.js
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
docs/src/pages/components/masonry/DiffColSizeMasonryBroken.tsx
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
docs/src/pages/components/masonry/DiffColSizeMasonryBroken.tsx.preview
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<Masonry columns={4} spacing={1}> | ||
{heights.map((height, index) => ( | ||
<MasonryItem key={index}> | ||
<Item sx={{ height }}>{index + 1}</Item> | ||
</MasonryItem> | ||
<Item key={index} sx={{ height }}> | ||
{index + 1} | ||
</Item> | ||
))} | ||
</Masonry> |
Oops, something went wrong.