-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ItemWithIndex): remove ItemWithIndex type (#129)
* feat(virtualizedList): pass index in props of itemContainerWithAnimatedStyle * feat(virtualizedListWithNodes): pass index in props of itemWrapperWithVirtualParentContext * feat(virtualizedListWithScroll): pass index as props of itemWrapperWithScrollContext * feat(virtualizedGrid): pass index in renderHeader, GridRow then ItemWrapper * refactor(virtualizedGrid): stop using ItemWithIndex type * refactor(virtualizedList): stop using ItemWithIndex type in layers of list * refactor(virtualizedList): delete ItemWithIndex type * refactor(SNvirtualizedList): stop indexing data in first layer * refactor(Lists): delete addIndex helper * fix(virtualizedGrid): fix index of row by taking header into account
- Loading branch information
Showing
8 changed files
with
66 additions
and
70 deletions.
There are no files selected for viewing
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
4 changes: 2 additions & 2 deletions
4
packages/lib/src/spatial-navigation/components/virtualizedGrid/helpers/convertToGrid.ts
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
Oops, something went wrong.