@eventbookingengines/react-embed
v1.0.3
Published
A component to allow for easy embedding of Event Booking Engines widgets in React projects.
Readme
Event Booking Engines React Embed
A component to allow for easy embedding of Event Booking Engines widgets in React projects.
Installation
npm install @eventbookingengines/react-embed # npm
pnpm add @eventbookingengines/react-embed #pnpmUsage
- Get your Embed Code snippet from Setup > Embeds.
- Find the value of
distribution_keyin the embed code. It should look likedist_XXX. - Provide your
distribution_keyto theEventBookingEnginesEmbedcomponent with thedistKeyprop:
import { EventBookingEnginesEmbed } from '@eventbookingengines/react-embed';
function App() {
return (
<>
<EventBookingEnginesEmbed distKey="dist_XXX" />
</>
)
}