squiggle/foretold/components/showcase/entries/Showcase_MeasurableForm.re

12 lines
246 B
ReasonML
Raw Normal View History

2022-01-12 07:33:04 +00:00
open FC;
let cdf: Types.Dist.t = {
xs: [|0.2, 0.4, 0.6, 0.8, 1.0|],
ys: [|0.2, 0.3, 0.5, 0.3, 0.2|],
};
let measurableForm = () => <MeasurableForm cdf />;
let entry =
EntryTypes.(sidebar(~title="Question form", ~render=measurableForm));