revert last commit
This commit is contained in:
parent
91246ffad3
commit
3f6e1b2caf
|
@ -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)"}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user