If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
We’re going to create a draggable list component that is cross-platform in a new React Native library. The new library/component should support both mobile and web.
The new library has already been setup with the support for TypeScript. Please write the new library in TypeScript.
This component should essentially wrap react-native-draggable-flatlist (a React Native library) and react-beautiful-dnd (a React library) and to provide a consistent API.
The only features/APIs we need for the new component is the ability to take an array and display the list item for each item in the array. We also want to provide a call back? to make sure that the re-ordering behavior can be listened to.
This new library is used in the DistanceRequest component to replace this part.
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
We’re going to create a draggable list component that is cross-platform in a new React Native library. The new library/component should support both mobile and web.
The new library has already been setup with the support for TypeScript. Please write the new library in TypeScript.
This component should essentially wrap react-native-draggable-flatlist (a React Native library) and react-beautiful-dnd (a React library) and to provide a consistent API.
The only features/APIs we need for the new component is the ability to take an array and display the list item for each item in the array. We also want to provide a call back? to make sure that the re-ordering behavior can be listened to.
This new library is used in the
DistanceRequestcomponent to replace this part.