This commit is contained in:
Quinn Dougherty 2022-04-30 14:10:54 -04:00
parent 615051d1c6
commit 2776a43693

View File

@ -17,7 +17,10 @@ Add to `App.js`:
```jsx ```jsx
import { SquiggleEditor } from "@quri/squiggle-components"; import { SquiggleEditor } from "@quri/squiggle-components";
<SquiggleEditor initialSquiggleString="x = beta($alpha, 10); x + $shift" jsImports={{alpha: 3, shift: 20}} />; <SquiggleEditor
initialSquiggleString="x = beta($alpha, 10); x + $shift"
jsImports={{ alpha: 3, shift: 20 }}
/>;
``` ```
# Build storybook for development # Build storybook for development