add imports to react quickstart #70

This commit is contained in:
Matthias Nannt
2022-08-31 09:07:33 +02:00
parent 3311cc4ab6
commit 5be849b553

View File

@@ -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(":", "")}">