Fix build errors in components

This commit is contained in:
Sam Nolan 2022-04-20 14:52:23 -04:00
parent 956b2fecef
commit 65397b3fe0
2 changed files with 4 additions and 2 deletions

View File

@ -6,11 +6,12 @@ import {
errorValueToString,
squiggleExpression,
} from "@quri/squiggle-lang";
import type { samplingParams, exportEnv } from "@quri/squiggle-lang";
import type { samplingParams } from "@quri/squiggle-lang";
import { NumberShower } from "./NumberShower";
import { DistributionChart } from "./DistributionChart";
import { ErrorBox } from "./ErrorBox";
import useSize from "@react-hook/size";
type exportEnv = unknown;
const variableBox = {
Component: styled.div`

View File

@ -2,9 +2,10 @@ import * as React from "react";
import * as ReactDOM from "react-dom";
import { SquiggleChart } from "./SquiggleChart";
import { CodeEditor } from "./CodeEditor";
import type { exportEnv } from "@quri/squiggle-lang";
import styled from "styled-components";
type exportEnv = unknown;
export interface SquiggleEditorProps {
/** The input string for squiggle */
initialSquiggleString?: string;