HomePhabricator
Diffusion Comm 146e18c3af86

[native] introduce barebones bottom sheet component

Description

[native] introduce barebones bottom sheet component

Summary:
This components introduces the barebones bottom sheet component. This component is meant to be a generic component that is feature agnostic and can be reused for any future bottom sheet we might want to create. I am very much working off the idea that this is far from the finished bottom sheet component, and some stuff here might not look super polished and a fair amount of this will change. I thought for review this would be easier to follow the progression of this component as I add the bits and pieces to it rather than just getting the final thing.

This diff also introduces a new folder called bottom-sheets. I thought this would be appropriate to add given that we likely will be using bottom sheets a lot in our app soon (profiles, message toolitps, any other place we use actionsheet) and it would make sense to have a folder to house all of this.

Here is design for reference:

Screenshot 2023-08-25 at 2.19.48 PM.png (1×734 px, 134 KB)

Depends on D8935

Test Plan:
Please see the demo video to see how the bottom sheet looks/behaves so far

Reviewers: atul, inka, tomek

Reviewed By: atul, tomek

Subscribers: ted, ashoat, tomek

Differential Revision: https://phab.comm.dev/D8955

Details

Provenance
ginsuAuthored on Aug 25 2023, 11:12 AM
Reviewer
atul
Differential Revision
D8955: [native] introduce barebones bottom sheet component
Parents
rCOMM46ac62ee6866: [native] Memoize `PanGestureHandler` props in `SwipeableMessage`
Branches
Unknown
Tags
Unknown