seatsio-react-native allows rendering seats.io seating charts inside a react-native application.
It uses React Native Webview as an embedded browser.
First, clone the repo:
git clone git@github.com:seatsio/seatsio-react-native.git
cd seatsio-react-native
cd example
yarn install
Then, for iOS:
cd ios && pod install && cd ..
yarn ios
For Android, simply do:
yarn android
Tip: be sure to check out the examples folder, it contains samples for many configuration options.
Minimal:
import SeatsioSeatingChart from '@seatsio/seatsio-react-native';
<SeatsioSeatingChart
region="eu"
workspaceKey="<yourPublicWorkspaceKey>"
event="<yourEventKey>"
/>