unlayer / react-email-editor

Drag-n-Drop Email Editor Component for React.js
https://unlayer.com/embed
MIT License
4.51k stars 728 forks source link

How to add API-KEY in react-email-editor #393

Closed mbrooks-launchedtech closed 4 months ago

mbrooks-launchedtech commented 4 months ago

Now that the projectId has been deprecated, what is the recommended way to supply an API key?

ahsansher commented 4 months ago

@mbrooks-launchedtech you don't need to pass API key.

pass projectId and templateId in the options.

It has moved to options prop: options={{ projectId: 12345, templateId: 12345, }}