-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Bubble integration details and the corresponding demo guide code added. #880
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 547bb9f. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
'2) Add Import Button': ({ accessToken, projectId, templateId }) => ( | ||
<> | ||
<ModifiedText> | ||
Now add Import Button provided by <Code>@impler/react</Code> which opens the Widget | ||
</ModifiedText> | ||
<CodeBlock | ||
height={HEIGHTS.WITH_TEXT} | ||
code={` | ||
import { useImpler } from "@impler/react"; | ||
|
||
const { showWidget, isImplerInitiated } = useImpler({ | ||
projectId: "${projectId}", | ||
templateId: "${templateId}", | ||
accessToken: "${accessToken}", | ||
}); | ||
|
||
<button disabled={!isImplerInitiated} onClick={showWidget}>Import</button>`} | ||
language="javascript" | ||
/> | ||
</> | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thisismayuresh It's react code, please update as it's in Bubble section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing that out, I will update it.
…ateId,projectId and accessToken
This MR introduces a new feature:
In the Bubble Integration section, users will be able to view and copy the projectId, templateId, and accessToken."