Update documentation for squiggleString
This commit is contained in:
parent
fc68a8d069
commit
06f86963d1
|
@ -20,7 +20,7 @@ Add to `App.js`:
|
||||||
```jsx
|
```jsx
|
||||||
import { SquiggleEditor } from "@quri/squiggle-components";
|
import { SquiggleEditor } from "@quri/squiggle-components";
|
||||||
<SquiggleEditor
|
<SquiggleEditor
|
||||||
initialSquiggleString="x = beta($alpha, 10); x + $shift"
|
squiggleString="x = beta($alpha, 10); x + $shift"
|
||||||
jsImports={{ alpha: 3, shift: 20 }}
|
jsImports={{ alpha: 3, shift: 20 }}
|
||||||
/>;
|
/>;
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user