- }
- >
-
-
-
- )
-}
\ No newline at end of file
diff --git a/apps/circuit-compiler/src/app/components/setupExports.tsx b/apps/circuit-compiler/src/app/components/setupExports.tsx
index 7b472afd83..c14dc87eea 100644
--- a/apps/circuit-compiler/src/app/components/setupExports.tsx
+++ b/apps/circuit-compiler/src/app/components/setupExports.tsx
@@ -1,9 +1,10 @@
import { CustomTooltip } from "@remix-ui/helper"
import { FormattedMessage } from "react-intl"
+import { SetupExportsBtn } from "./setupExportsBtn"
export function SetupExports () {
return (
-
+
diff --git a/apps/circuit-compiler/src/app/components/setupExportsBtn.tsx b/apps/circuit-compiler/src/app/components/setupExportsBtn.tsx
new file mode 100644
index 0000000000..029f32bb4e
--- /dev/null
+++ b/apps/circuit-compiler/src/app/components/setupExportsBtn.tsx
@@ -0,0 +1,34 @@
+import { CustomTooltip, RenderIf, RenderIfNot } from "@remix-ui/helper"
+import { useContext } from "react"
+import { CircuitAppContext } from "../contexts"
+import { FormattedMessage } from "react-intl"
+
+export function SetupExportsBtn () {
+ const { plugin, appState } = useContext(CircuitAppContext)
+
+ return (
+
+ }
+ >
+
+
+
+ )
+}
\ No newline at end of file
diff --git a/apps/circuit-compiler/src/app/components/toggler.tsx b/apps/circuit-compiler/src/app/components/toggler.tsx
index dc62ffa881..abcd1b53c2 100644
--- a/apps/circuit-compiler/src/app/components/toggler.tsx
+++ b/apps/circuit-compiler/src/app/components/toggler.tsx
@@ -2,15 +2,15 @@ import { useState } from "react"
import { FormattedMessage } from "react-intl"
import { RenderIf, RenderIfNot } from "@remix-ui/helper"
-export function Toggler ({ children, title, dataId }: { children: JSX.Element, title: string, dataId: string }) {
- const [toggleExpander, setToggleExpander] = useState
(false)
+export function Toggler ({ children, title, dataId, show = false }: { children: JSX.Element, title: string, dataId: string, show?: boolean }) {
+ const [toggleExpander, setToggleExpander] = useState(show)
const toggleConfigurations = () => {
setToggleExpander(!toggleExpander)
}
return (
-
+