mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-04 10:30:00 -06:00
add imports to react quickstart #70
This commit is contained in:
@@ -92,7 +92,16 @@ function ReactPage() {
|
||||
<div className="p-8 font-light text-gray-200 bg-[#1a1b26] rounded-md">
|
||||
<pre>
|
||||
<code className="javascript">
|
||||
{`<SnoopForm
|
||||
{`import {
|
||||
SnoopForm,
|
||||
SnoopPage,
|
||||
SnoopElement
|
||||
} from "@snoopforms/react";
|
||||
import "@snoopforms/react/dist/styles.css";
|
||||
|
||||
...
|
||||
|
||||
<SnoopForm
|
||||
domain="${window?.location.host}"
|
||||
protocol="${window?.location.protocol.replace(":", "")}">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user