@duffel/react-native-components
v4.0.0
Published
UI components to support selling travel with the Duffel API
Readme
@duffel/react-native-components
A suite of UI components to enable you to sell and manage travel with the Duffel API in your React Native app.
What's Included
This package provides the following components:
- Ancillaries - Allow customers to add bags, seats, and other extras to their bookings
- Assistant - Travel assistant to help users work through booking management and connect with customer support
- Card Form - Secure card input form
- 3D Secure Provider - Handle 3DS authentication flows
Installation
npm install @duffel/react-native-componentsPeer Dependencies
This package requires the following peer dependencies to be installed in your project:
npm install @duffel/api @evervault/react-native @react-native-picker/picker react-native-mask-input react-native-picker-select react-native-svg react-native-webviewiOS Setup
For iOS, install the native dependencies:
npx pod-installStandalone Packages
If you only need specific functionality, consider using our standalone packages for a smaller bundle size and reduced dependencies:
