Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new API - primitive components #284

Merged
merged 1 commit into from Apr 28, 2022

Conversation

mateusz1913
Copy link
Contributor

Introduce custom withStickyHeader HOC, that takes scroll component and sets up header and sticky tabs

Introduce primitive scroll components, already wrapped in withStickyHeader

  • StickyHeaderScrollView (wrapped ScrollView)
  • StickyHeaderFlatList (wrapped FlatList)
  • StickyHeaderSectionList (wrapped SectionList)

Description

Affected platforms

  • Android
  • iOS

Test plan/screenshots/videos

Simulator.Screen.Recording.-.iPhone.8.-.2022-04-19.at.21.56.58.mp4

Introduce custom `withStickyHeader` HOC, that takes scroll
component and sets up header and sticky tabs

Introduce primitive scroll components, already wrapped in `withStickyHeader`
- `StickyHeaderScrollView` (wrapped `ScrollView`)
- `StickyHeaderFlatList` (wrapped `FlatList`)
- `StickyHeaderSectionList` (wrapped `SectionList`)
@mateusz1913 mateusz1913 merged commit 72b2155 into master Apr 28, 2022
@mateusz1913 mateusz1913 deleted the feat/new-api-primitive-components branch April 28, 2022 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants