squiggle/packages/website/src/pages/playground.js
Quinn Dougherty a4c3405e5d Added showTypes tag to playground
Value: [1e-8 to 1e-4]
2022-05-02 17:37:50 -04:00

22 lines
497 B
JavaScript

import React from "react";
import Layout from "@theme/Layout";
import { SquigglePlayground } from "../components/SquigglePlayground";
export default function PlaygroundPage() {
return (
<Layout title="Playground" description="Squiggle Playground">
<div
style={{
maxWidth: 2000,
}}
>
<SquigglePlayground
initialSquiggleString="normal(0,1)"
height={700}
showTypes={true}
/>
</div>
</Layout>
);
}