React Native SDK
The react native SDK provides pre-built UI, so restaurant bookings can quickly be added to any mobile app.
The React Native SDK is currently in private beta. Please contact us to request access.
import React from 'react';
import allthetables, { BookButton } from 'allthetables/partner-sdk'
const VenueBookingExample = () => {
allthetables.init({
partnerId: 'insert-your-partner-id',
publicKey: 'insert-your-public-key',
})
return (
<BookButton venueId={'insert-a-venue-id'}>
Book now
</BookButton>
);
};
export default VenueBookingExample;
Updated about 1 month ago