revert last commit

This commit is contained in:
Quinn Dougherty 2022-07-28 11:26:22 -04:00
parent 91246ffad3
commit 3f6e1b2caf

View File

@ -3,7 +3,7 @@ title: How to import squiggle files into `.mdx` documents
sidebar_position: 5 sidebar_position: 5
--- ---
import { SquiggleEditorWithImportedBindings } from "@quri/squiggle-components"; import { SquiggleEditorWithImportedBindings } from "../../src/components/SquiggleEditor";
_Proof of concept_ _Proof of concept_
@ -21,7 +21,7 @@ z = y.b * y.a
We can call `f(z)` upon the assignments in `demo.squiggle` like so: We can call `f(z)` upon the assignments in `demo.squiggle` like so:
```jsx ```jsx
import { SquiggleEditorWithImportedBindings } from "@quri/squiggle-components"; import { SquiggleEditorWithImportedBindings } from "../../src/components/SquiggleEditor";
<SquiggleEditorWithImportedBindings <SquiggleEditorWithImportedBindings
defaultCode={"f(z)"} defaultCode={"f(z)"}