unlayer / react-email-editor

Drag-n-Drop Email Editor Component for React.js

Home Page:https://unlayer.com/embed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mbrooks-launchedtech opened this issue · comments

commented

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

@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, }}