0.1.0 • Published 2 years ago

@mindinventory/react-native-booking-ticket v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@mindinventory/react-native-booking-ticket npm.io

React Native Booking Ticket

Installation

npm install @mindinventory/react-native-booking-ticket
yarn add @mindinventory/react-native-booking-ticket

Supported platform

  • Android
  • Ios

Usage

import SeatsLayout from "@mindinventory/react-native-booking-ticket";

Props to use

ParameterTypeDescription
rownumberSet number of rows to draw seat layout.
layoutLayout (Optional)Default value columnOne: 2 & columnTwo: 2.
driverPositionstring (Optional)Accepts string args among left or right. Default is right.
isSleeperLayoutboolean (Optional)Accepts boolean value either true or false. Default is false.
maxSeatToSelectnumber (Optional)Allow uset to select maximum number of seats to book in one go. Default value 7.
selectedSeatsArray (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