diff --git a/docs/app/guides/custom-components/contexts/page.tsx b/docs/app/guides/custom-components/contexts/page.tsx
index f78b0613..e15b8918 100644
--- a/docs/app/guides/custom-components/contexts/page.tsx
+++ b/docs/app/guides/custom-components/contexts/page.tsx
@@ -1,8 +1,5 @@
-import PizzaSlice from "guide-examples/custom/pizza-slice"
-import PizzaSliceSource from "!raw-loader!guide-examples/custom/pizza-slice"
-
-import PointCloud from "guide-examples/custom/point-cloud"
-import PointCloudSource from "!raw-loader!guide-examples/custom/point-cloud"
+import * as PizzaSlice from "guide-examples/custom/pizza-slice"
+import * as PointCloud from "guide-examples/custom/point-cloud"
import CodeAndExample from "components/CodeAndExample"
import Link from "next/link"
@@ -62,7 +59,7 @@ export default function TransformContextsPage() {
transforms it.
- } source={PizzaSliceSource} />
+
This is an example of a component that gets entirely transformed by the user and view
@@ -82,7 +79,7 @@ export default function TransformContextsPage() {
the CSS transforms approach here, because that would distort each circle.
- } source={PointCloudSource} />
+
>
)
}
diff --git a/docs/app/guides/display/circles/page.tsx b/docs/app/guides/display/circles/page.tsx
index a60d2d58..292a5506 100644
--- a/docs/app/guides/display/circles/page.tsx
+++ b/docs/app/guides/display/circles/page.tsx
@@ -1,6 +1,6 @@
import CodeAndExample from "components/CodeAndExample"
-import MovableCircle from "guide-examples/MovableCircle"
+import * as MovableCircle from "guide-examples/MovableCircle"
import MovableCircleSource from "!raw-loader!guide-examples/MovableCircle"
import { PropTable } from "components/PropTable"
@@ -10,7 +10,7 @@ export default function Page() {
<>
Circles take a center vector and a radius.
- } source={MovableCircleSource} />
+
>
diff --git a/docs/app/guides/display/coordinates/page.tsx b/docs/app/guides/display/coordinates/page.tsx
index 98d861a6..675eed8b 100644
--- a/docs/app/guides/display/coordinates/page.tsx
+++ b/docs/app/guides/display/coordinates/page.tsx
@@ -1,16 +1,11 @@
import { PropTable } from "components/PropTable"
import CodeAndExample from "components/CodeAndExample"
-import CartesianCoordinatesExample from "guide-examples/display/coordinates/CartesianCoordinatesExample"
-import CartesianCoordinatesExampleSource from "!raw-loader!guide-examples/display/coordinates/CartesianCoordinatesExample"
-
-import CartesianCoordinatesConfigExample from "guide-examples/display/coordinates/CartesianCoordinatesConfigExample"
-import CartesianCoordinatesConfigExampleSource from "!raw-loader!guide-examples/display/coordinates/CartesianCoordinatesConfigExample"
+import * as CartesianCoordinatesExample from "guide-examples/display/coordinates/CartesianCoordinatesExample"
+import * as CartesianCoordinatesConfigExample from "guide-examples/display/coordinates/CartesianCoordinatesConfigExample"
import Code from "components/Code"
-import PolarCoordinatesExample from "guide-examples/display/coordinates/PolarCoordinatesExample"
-import PolarCoordinatesExampleSource from "!raw-loader!guide-examples/display/coordinates/PolarCoordinatesExample"
-
+import * as PolarCoordinatesExample from "guide-examples/display/coordinates/PolarCoordinatesExample"
function CoordinatesPage() {
return (
<>
@@ -24,10 +19,7 @@ function CoordinatesPage() {
Cartesian coordinates
- }
- source={CartesianCoordinatesExampleSource}
- />
+
@@ -64,17 +56,11 @@ function CoordinatesPage() {
labels to render in terms of π.
- }
- source={CartesianCoordinatesConfigExampleSource}
- />
+
Polar coordinates
- }
- source={PolarCoordinatesExampleSource}
- />
+
diff --git a/docs/app/guides/display/debug/page.tsx b/docs/app/guides/display/debug/page.tsx
index 5eb3a08d..6b08ee81 100644
--- a/docs/app/guides/display/debug/page.tsx
+++ b/docs/app/guides/display/debug/page.tsx
@@ -4,12 +4,8 @@ import Link from "next/link"
import CodeAndExample from "components/CodeAndExample"
-import PizzaSliceExample from "guide-examples/custom/pizza-slice"
-import PizzaSliceExampleSource from "!raw-loader!guide-examples/custom/pizza-slice"
-
-import Example from "guide-examples/debug/PaneVisualizerExample"
-import PaneVisualizerExampleSource from "!raw-loader!guide-examples/debug/PaneVisualizerExample"
-
+import * as PizzaSliceExample from "guide-examples/custom/pizza-slice"
+import * as Example from "guide-examples/debug/PaneVisualizerExample"
export default function DebugPage() {
return (
<>
@@ -29,7 +25,7 @@ export default function DebugPage() {
custom components.
- } source={PizzaSliceExampleSource} />
+
@@ -41,7 +37,7 @@ export default function DebugPage() {
pane context.
- } source={PaneVisualizerExampleSource} />
+
>
diff --git a/docs/app/guides/display/ellipses/page.tsx b/docs/app/guides/display/ellipses/page.tsx
index 81e4baa2..74bc4683 100644
--- a/docs/app/guides/display/ellipses/page.tsx
+++ b/docs/app/guides/display/ellipses/page.tsx
@@ -1,6 +1,6 @@
import CodeAndExample from "components/CodeAndExample"
-import MovableEllipse from "guide-examples/MovableEllipse"
+import * as MovableEllipse from "guide-examples/MovableEllipse"
import MovableEllipseSource from "!raw-loader!guide-examples/MovableEllipse"
import WIP from "components/WIP"
import Link from "next/link"
@@ -12,7 +12,7 @@ export default function Page() {
<>
Ellipses take a center vector, radius vector, and an angle.
- } source={MovableEllipseSource} />
+
diff --git a/docs/app/guides/display/lines/page.tsx b/docs/app/guides/display/lines/page.tsx
index a884e2d7..07c58b61 100644
--- a/docs/app/guides/display/lines/page.tsx
+++ b/docs/app/guides/display/lines/page.tsx
@@ -1,15 +1,10 @@
import CodeAndExample from "components/CodeAndExample"
import { PropTable } from "components/PropTable"
-import LineSegmentExample from "guide-examples/LineSegmentExample"
-import LineSegmentExampleSource from "!raw-loader!guide-examples/LineSegmentExample"
-import LineThroughPointsExample from "guide-examples/LineThroughPointsExample"
-import LineThroughPointsExampleSource from "!raw-loader!guide-examples/LineThroughPointsExample"
-import LinePointSlopeExample from "guide-examples/LinePointSlopeExample"
-import LinePointSlopeExampleSource from "!raw-loader!guide-examples/LinePointSlopeExample"
-import LinePointAngleExample from "guide-examples/LinePointAngleExample"
-import LinePointAngleExampleSource from "!raw-loader!guide-examples/LinePointAngleExample"
-
+import * as LineSegmentExample from "guide-examples/LineSegmentExample"
+import * as LineThroughPointsExample from "guide-examples/LineThroughPointsExample"
+import * as LinePointSlopeExample from "guide-examples/LinePointSlopeExample"
+import * as LinePointAngleExample from "guide-examples/LinePointAngleExample"
function Lines() {
return (
<>
@@ -17,25 +12,22 @@ function Lines() {
- } source={LinePointAngleExampleSource} />
+
>
)
diff --git a/docs/app/guides/display/mafs/page.tsx b/docs/app/guides/display/mafs/page.tsx
index 30ddc20b..7144921a 100644
--- a/docs/app/guides/display/mafs/page.tsx
+++ b/docs/app/guides/display/mafs/page.tsx
@@ -1,17 +1,10 @@
import CodeAndExample from "components/CodeAndExample"
import { PropTable } from "components/PropTable"
-import PlainMafsExample from "guide-examples/PlainMafsExample"
-import PlainMafsExampleSource from "!raw-loader!guide-examples/PlainMafsExample"
-
-import ContainViewboxExample from "guide-examples/display/viewbox/ContainViewbox"
-import ContainViewboxExampleSource from "!raw-loader!guide-examples/display/viewbox/ContainViewbox"
-
-import ZoomExample from "guide-examples/display/viewbox/ZoomExample"
-import ZoomExampleSource from "!raw-loader!guide-examples/display/viewbox/ZoomExample"
-
-import StretchViewboxExample from "guide-examples/display/viewbox/StretchViewbox"
-import StretchViewboxExampleSource from "!raw-loader!guide-examples/display/viewbox/StretchViewbox"
+import * as PlainMafsExample from "guide-examples/PlainMafsExample"
+import * as ContainViewboxExample from "guide-examples/display/viewbox/ContainViewbox"
+import * as ZoomExample from "guide-examples/display/viewbox/ZoomExample"
+import * as StretchViewboxExample from "guide-examples/display/viewbox/StretchViewbox"
import Code from "components/Code"
export async function generateMetadata() {
@@ -28,7 +21,7 @@ function MafsPage() {
components. On its own, it renders a blank canvas.
- } source={PlainMafsExampleSource} />
+
@@ -73,7 +66,7 @@ function MafsPage() {
to specify this with the viewBox prop.
- } source={ContainViewboxExampleSource} />
+
Aspect ratio preservation
@@ -83,7 +76,7 @@ function MafsPage() {
tossing aside the aspect ratio preservation.
- } source={StretchViewboxExampleSource} />
+
The only other option is "contain" for now, which is also the default.
diff --git a/docs/app/guides/display/plots/page.tsx b/docs/app/guides/display/plots/page.tsx
index f912d6d1..a217bb7c 100644
--- a/docs/app/guides/display/plots/page.tsx
+++ b/docs/app/guides/display/plots/page.tsx
@@ -1,21 +1,17 @@
import CodeAndExample from "components/CodeAndExample"
-import OfXAndY from "guide-examples/plots/of-x-and-y"
+import * as OfXAndY from "guide-examples/plots/of-x-and-y"
import OfXAndYSource from "!raw-loader!guide-examples/plots/of-x-and-y.tsx"
-import TwistyBoi from "guide-examples/plots/twisty-boi"
+import * as TwistyBoi from "guide-examples/plots/twisty-boi"
import TwistyBoiSource from "!raw-loader!guide-examples/plots/twisty-boi.tsx"
-import VectorFieldExample from "guide-examples/VectorFieldExample"
-import VectorFieldExampleSource from "!raw-loader!guide-examples/VectorFieldExample"
-
-import SineStressTest from "guide-examples/plots/sine-stress-test"
+import * as VectorFieldExample from "guide-examples/VectorFieldExample"
+import * as SineStressTest from "guide-examples/plots/sine-stress-test"
import SineStressTestSource from "!raw-loader!guide-examples/plots/sine-stress-test.tsx"
import { PropTable } from "components/PropTable"
-import InequalitiesExample from "guide-examples/plots/inequalities"
-import InequalitiesExampleSource from "!raw-loader!guide-examples/plots/inequalities.tsx"
-
+import * as InequalitiesExample from "guide-examples/plots/inequalities"
function Functions() {
return (
<>
@@ -27,7 +23,7 @@ function Functions() {
@@ -64,7 +60,7 @@ function Functions() {
vector field is.
- } source={VectorFieldExampleSource} />
+
Render quality
@@ -105,7 +101,7 @@ function Functions() {
plot has nearly 3 megabytes of SVG path data).
- } source={SineStressTestSource} />
+
If you pan this example around, you may see a considerably slow framerate. Interestingly,
diff --git a/docs/app/guides/display/points/page.tsx b/docs/app/guides/display/points/page.tsx
index 08c18a60..981767a3 100644
--- a/docs/app/guides/display/points/page.tsx
+++ b/docs/app/guides/display/points/page.tsx
@@ -1,6 +1,6 @@
import CodeAndExample from "components/CodeAndExample"
-import SimplePoint from "guide-examples/display/SimplePoint"
+import * as SimplePoint from "guide-examples/display/SimplePoint"
import SimplePointSource from "!raw-loader!guide-examples/display/SimplePoint"
import { PropTable } from "components/PropTable"
@@ -10,7 +10,7 @@ function Points() {
<>
Points are dots that can be rendered at a location (x, y).
- } source={SimplePointSource} />
+
>
diff --git a/docs/app/guides/display/polygons/page.tsx b/docs/app/guides/display/polygons/page.tsx
index 867b4790..dddedd40 100644
--- a/docs/app/guides/display/polygons/page.tsx
+++ b/docs/app/guides/display/polygons/page.tsx
@@ -1,9 +1,7 @@
import CodeAndExample from "components/CodeAndExample"
-import PolygonExample from "guide-examples/PolygonExample"
-import PolygonExampleSource from "!raw-loader!guide-examples/PolygonExample"
-import PolylineExample from "guide-examples/PolylineExample"
-import PolylineExampleSource from "!raw-loader!guide-examples/PolylineExample"
+import * as PolygonExample from "guide-examples/PolygonExample"
+import * as PolylineExample from "guide-examples/PolylineExample"
import { PropTable } from "components/PropTable"
function Polygons() {
@@ -11,11 +9,11 @@ function Polygons() {
<>
Polygons take a number of points and create a closed shape.
- } source={PolygonExampleSource} />
+
- } source={PolylineExampleSource} />
+
>
diff --git a/docs/app/guides/display/text/page.tsx b/docs/app/guides/display/text/page.tsx
index 50140e22..72cbbe03 100644
--- a/docs/app/guides/display/text/page.tsx
+++ b/docs/app/guides/display/text/page.tsx
@@ -1,7 +1,6 @@
import CodeAndExample from "components/CodeAndExample"
-import TextExample from "guide-examples/TextExample"
-import TextExampleSource from "!raw-loader!guide-examples/TextExample"
+import * as TextExample from "guide-examples/TextExample"
import { PropTable } from "components/PropTable"
function Text() {
@@ -13,7 +12,7 @@ function Text() {
attach will orient the text along a cardinal direction ("n", "s", "nw", etc.)
- } source={TextExampleSource} />
+
>
diff --git a/docs/app/guides/display/transform/page.tsx b/docs/app/guides/display/transform/page.tsx
index 2cf48195..851f68e7 100644
--- a/docs/app/guides/display/transform/page.tsx
+++ b/docs/app/guides/display/transform/page.tsx
@@ -1,5 +1,4 @@
-import SimpleTransformExample from "guide-examples/utility/SimpleTransform"
-import SimpleTransformExampleSource from "!raw-loader!guide-examples/utility/SimpleTransform"
+import * as SimpleTransformExample from "guide-examples/utility/SimpleTransform"
import CodeAndExample from "components/CodeAndExample"
import Code from "components/Code"
import { PropTable } from "components/PropTable"
@@ -12,10 +11,7 @@ export default function Page() {
collectively. This is where Transform comes in handy.
- }
- source={SimpleTransformExampleSource}
- />
+
diff --git a/docs/app/guides/display/vectors/page.tsx b/docs/app/guides/display/vectors/page.tsx
index 6d73541a..c2aaed85 100644
--- a/docs/app/guides/display/vectors/page.tsx
+++ b/docs/app/guides/display/vectors/page.tsx
@@ -1,9 +1,7 @@
import { PropTable } from "components/PropTable"
import CodeAndExample from "components/CodeAndExample"
-import VectorExample from "guide-examples/display/vectors/VectorExample"
-import VectorExampleSource from "!raw-loader!guide-examples/display/vectors/VectorExample"
-
+import * as VectorExample from "guide-examples/display/vectors/VectorExample"
function Vectors() {
return (
<>
@@ -14,7 +12,7 @@ function Vectors() {
matrices), exposing them as vec. Those utilities are used extensively here.
- } source={VectorExampleSource} />
+
>
diff --git a/docs/app/guides/examples/bezier-curves/page.tsx b/docs/app/guides/examples/bezier-curves/page.tsx
index d24c4206..5a6ddb53 100644
--- a/docs/app/guides/examples/bezier-curves/page.tsx
+++ b/docs/app/guides/examples/bezier-curves/page.tsx
@@ -1,6 +1,5 @@
import CodeAndExample from "components/CodeAndExample"
-import BezierCurves from "guide-examples/examples/BezierCurves"
-import BezierCurvesSource from "!raw-loader!guide-examples/examples/BezierCurves.tsx"
+import * as BezierCurves from "guide-examples/examples/BezierCurves"
import Link from "next/link"
export default function BezierCurvesPage() {
@@ -11,7 +10,7 @@ export default function BezierCurvesPage() {
video on Bézier curves.
- } />
+
>
)
}
diff --git a/docs/app/guides/examples/fancy-parabola/page.tsx b/docs/app/guides/examples/fancy-parabola/page.tsx
index fa05ff76..7be8d4f2 100644
--- a/docs/app/guides/examples/fancy-parabola/page.tsx
+++ b/docs/app/guides/examples/fancy-parabola/page.tsx
@@ -1,13 +1,12 @@
import CodeAndExample from "components/CodeAndExample"
-import FancyParabola from "guide-examples/examples/FancyParabola"
-import FancyParabolaSource from "!raw-loader!guide-examples/examples/FancyParabola.tsx"
+import * as FancyParabola from "guide-examples/examples/FancyParabola"
export default function ProjectilePage() {
return (
<>
- } />
+
>
)
}
diff --git a/docs/app/guides/examples/projectile-motion/page.tsx b/docs/app/guides/examples/projectile-motion/page.tsx
index 1dedcf65..c38da5d5 100644
--- a/docs/app/guides/examples/projectile-motion/page.tsx
+++ b/docs/app/guides/examples/projectile-motion/page.tsx
@@ -1,6 +1,5 @@
import CodeAndExample from "components/CodeAndExample"
-import ProjectileMotion from "guide-examples/examples/ProjectileMotion"
-import ProjectileMotionSource from "!raw-loader!guide-examples/examples/ProjectileMotion.tsx"
+import * as ProjectileMotion from "guide-examples/examples/ProjectileMotion"
function ProjectilePage() {
return (
@@ -11,7 +10,7 @@ function ProjectilePage() {
the animation.
- } />
+
>
)
}
diff --git a/docs/app/guides/examples/riemann-sums/page.tsx b/docs/app/guides/examples/riemann-sums/page.tsx
index ffff8dd0..a5c16fb0 100644
--- a/docs/app/guides/examples/riemann-sums/page.tsx
+++ b/docs/app/guides/examples/riemann-sums/page.tsx
@@ -1,6 +1,5 @@
import CodeAndExample from "components/CodeAndExample"
-import Riemann from "guide-examples/examples/Riemann"
-import RiemannSource from "!raw-loader!guide-examples/examples/Riemann.tsx"
+import * as Riemann from "guide-examples/examples/Riemann"
function RiemannPage() {
return (
@@ -17,7 +16,7 @@ function RiemannPage() {
provide inputs to Mafs.
- } />
+
>
)
}
diff --git a/docs/app/guides/experimental/animation/page.tsx b/docs/app/guides/experimental/animation/page.tsx
index 057a88b8..acc083f9 100644
--- a/docs/app/guides/experimental/animation/page.tsx
+++ b/docs/app/guides/experimental/animation/page.tsx
@@ -1,7 +1,7 @@
import WIP from "components/WIP"
import CodeAndExample from "components/CodeAndExample"
-import AnimatedPoint from "guide-examples/animation/AnimatedPoint"
+import * as AnimatedPoint from "guide-examples/animation/AnimatedPoint"
import AnimatedPointSource from "!raw-loader!guide-examples/animation/AnimatedPoint"
function Stopwatch() {
@@ -24,7 +24,7 @@ function Stopwatch() {
- } source={AnimatedPointSource} />
+
>
)
}
diff --git a/docs/app/guides/experimental/latex/page.tsx b/docs/app/guides/experimental/latex/page.tsx
index 961c9aad..f8ccfd73 100644
--- a/docs/app/guides/experimental/latex/page.tsx
+++ b/docs/app/guides/experimental/latex/page.tsx
@@ -1,11 +1,9 @@
import CodeAndExample from "components/CodeAndExample"
import { PropTable } from "components/PropTable"
-import LatexExample from "components/guide-examples/display/Latex"
-import LatexExampleSource from "!raw-loader!components/guide-examples/display/Latex"
+import * as LatexExample from "components/guide-examples/display/Latex"
+import * as LatexDocExample from "components/guide-examples/display/LatexDoc"
-import LatexDocExample from "components/guide-examples/display/LatexDoc"
-import LatexDocExampleSource from "!raw-loader!components/guide-examples/display/LatexDoc"
import Link from "next/link"
import Experimental from "components/Experimental"
import Code from "components/Code"
@@ -57,8 +55,8 @@ export default function LatexPage() {
x variable in the following code).
- } source={LatexExampleSource} />
- } source={LatexDocExampleSource} />
+
+
>
)
}
diff --git a/docs/app/guides/get-started/hello-f-x/page.tsx b/docs/app/guides/get-started/hello-f-x/page.tsx
index 14085ddd..37c67a3a 100644
--- a/docs/app/guides/get-started/hello-f-x/page.tsx
+++ b/docs/app/guides/get-started/hello-f-x/page.tsx
@@ -1,15 +1,10 @@
-import CodeAndExample from "../../../../components/CodeAndExample"
-
-import Plain from "../../../../components/guide-examples/hello-fx/plain"
-import PlainSource from "!raw-loader!../../../../components/guide-examples/hello-fx/plain"
-import Subdivions from "../../../../components/guide-examples/hello-fx/subdivisions"
-import SubdivionsSource from "!raw-loader!../../../../components/guide-examples/hello-fx/subdivisions"
-import Sine from "../../../../components/guide-examples/hello-fx/sine"
-import SineSource from "!raw-loader!../../../../components/guide-examples/hello-fx/sine"
-import SinePi from "../../../../components/guide-examples/hello-fx/sine-pi"
-import SinePiSource from "!raw-loader!../../../../components/guide-examples/hello-fx/sine-pi"
-import Draggable from "../../../../components/guide-examples/hello-fx/draggable"
-import DraggableSource from "!raw-loader!../../../../components/guide-examples/hello-fx/draggable"
+import CodeAndExample from "components/CodeAndExample"
+
+import * as Plain from "guide-examples/hello-fx/plain"
+import * as Subdivions from "guide-examples/hello-fx/subdivisions"
+import * as Sine from "guide-examples/hello-fx/sine"
+import * as SinePi from "guide-examples/hello-fx/sine-pi"
+import * as Draggable from "guide-examples/hello-fx/draggable"
import type { Metadata } from "next"
export const metadata: Metadata = {
@@ -33,14 +28,14 @@ function Page() {
nothing too interesting on it.
- } source={PlainSource} />
+
CartesianCoordinates is pretty customizable. Let's make our graph a little bit
more sophisticated-looking by adding some subdivisions.
We've passed a plain JavaScript function, and Mafs evaluated it and plotted it across the
@@ -69,7 +64,7 @@ function Page() {
Tell Mafs to let us squish the viewport
- } source={SinePiSource} />
+
At this point, it's worth noting that you haven't instructed the library to do
@@ -85,7 +80,7 @@ function Page() {
to our function.
- } source={DraggableSource} />
+
There are a few noteworthy things here: one is how we declared our point. We start centered
diff --git a/docs/app/guides/get-started/installation/page.tsx b/docs/app/guides/get-started/installation/page.tsx
index bb12cf92..e17e4b7a 100644
--- a/docs/app/guides/get-started/installation/page.tsx
+++ b/docs/app/guides/get-started/installation/page.tsx
@@ -1,8 +1,7 @@
-import Code from "../../../../components/Code"
-import CodeAndExample from "../../../../components/CodeAndExample"
+import Code from "components/Code"
+import CodeAndExample from "components/CodeAndExample"
-import Plain from "../../../../components/guide-examples/hello-fx/plain"
-import PlainSource from "!raw-loader!../../../../components/guide-examples/hello-fx/plain"
+import * as Plain from "guide-examples/hello-fx/plain"
import endent from "endent"
import type { Metadata } from "next"
@@ -35,7 +34,7 @@ function Page() {
Now, in your React app, you should be able to render a Mafs view.
- } source={PlainSource} />
+
Fancy math font
diff --git a/docs/app/guides/interaction/movable-points/page.tsx b/docs/app/guides/interaction/movable-points/page.tsx
index 4ba96b99..d1a9e5c1 100644
--- a/docs/app/guides/interaction/movable-points/page.tsx
+++ b/docs/app/guides/interaction/movable-points/page.tsx
@@ -1,10 +1,10 @@
import CodeAndExample from "components/CodeAndExample"
-import PointsAlongFunction from "guide-examples/display/PointsAlongFunction"
+import * as PointsAlongFunction from "guide-examples/display/PointsAlongFunction"
import PointsAlongFunctionSource from "!raw-loader!guide-examples/display/PointsAlongFunction"
-import DynamicMovablePoints from "guide-examples/display/DynamicMovablePoints"
+import * as DynamicMovablePoints from "guide-examples/display/DynamicMovablePoints"
import DynamicMovablePointsSource from "!raw-loader!guide-examples/display/DynamicMovablePoints"
-import SnapPoint from "guide-examples/SnapPoint"
+import * as SnapPoint from "guide-examples/SnapPoint"
import SnapPointSource from "!raw-loader!guide-examples/SnapPoint"
import { Advanced } from "components/Advanced"
import Code from "components/Code"
@@ -24,7 +24,7 @@ function Stopwatch() {
or constrained to an arbitrary function. This example constrains movement horizontally:
- } source={PointsAlongFunctionSource} />
+