@mindinventory/react-native-booking-ticket
React Native Booking Ticket
Installation
npm install @mindinventory/react-native-booking-ticket
yarn add @mindinventory/react-native-booking-ticket
Supported platform
Usage
import SeatsLayout from "@mindinventory/react-native-booking-ticket";
Props to use
Parameter | Type | Description |
---|
row | number | Set number of rows to draw seat layout. |
layout | Layout (Optional) | Default value columnOne: 2 & columnTwo: 2 . |
driverPosition | string (Optional) | Accepts string args among left or right . Default is right . |
isSleeperLayout | boolean (Optional) | Accepts boolean value either true or false . Default is false . |
maxSeatToSelect | number (Optional) | Allow uset to select maximum number of seats to book in one go. Default value 7 . |
selectedSeats | Array (Optional) | Accepts value seatNumber number and seatType number which accepts value from (booked or women or blocked ). Default its set to blank array. |
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
@mindinventory/react-native-booking-ticket MIT-licensed.
Let us know!
We’d be really happy if you send us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.
📌 Credits :
This project is made possible by the community surrounding it and especially the wonderful people. Rendering a list is basically clone form this repo GitHub Repo