Skip to content

Commit

Permalink
Migrate container demos to docs (#2983)
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonrobot authored Nov 20, 2024
1 parent 1cfc9f8 commit 713eaf3
Show file tree
Hide file tree
Showing 17 changed files with 1,228 additions and 3,229 deletions.
28 changes: 0 additions & 28 deletions demo/ts/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,22 @@ import * as React from "react";
import * as ReactDOM from "react-dom";

import AccessibilityDemo from "./components/accessibility-demo";
import BrushContainerDemo from "./components/victory-brush-container-demo";
import BrushLineDemo from "./components/victory-brush-line-demo";
import CreateContainerDemo from "./components/create-container-demo";
import CursorContainerDemo from "./components/victory-cursor-container-demo";
import DraggableDemo from "./components/draggable-demo";
import SelectionDemo from "./components/selection-demo";
import StackedThemeDemos from "./components/stacked-theme-demo";
import VoronoiContainerDemo from "./components/victory-voronoi-container-demo";
import ZoomContainerDemo from "./components/victory-zoom-container-demo";
import ThemeBuilder from "./components/theme-builder";

const DEMO_ROUTES = {
"/demo/accessibility": {
component: AccessibilityDemo,
name: "AccessibilityDemo",
},
"/demo/brush-container": {
component: BrushContainerDemo,
name: "BrushContainerDemo",
},
"/demo/brush-line": { component: BrushLineDemo, name: "BrushLineDemo" },

"/demo/create-container": {
component: CreateContainerDemo,
name: "CreateContainerDemo",
},
"/demo/cursor-container": {
component: CursorContainerDemo,
name: "CursorContainerDemo",
},
"/demo/draggable": { component: DraggableDemo, name: "DraggableDemo" },
"/demo/selection": { component: SelectionDemo, name: "SelectionDemo" },
"/demo/stacked-theme": {
component: StackedThemeDemos,
name: "StackedThemeDemos",
},
"/demo/voronoi-container": {
component: VoronoiContainerDemo,
name: "VoronoiContainerDemo",
},
"/demo/zoom-container": {
component: ZoomContainerDemo,
name: "ZoomContainerDemo",
},
};

class Home extends React.Component {
Expand Down
287 changes: 0 additions & 287 deletions demo/ts/components/create-container-demo.tsx

This file was deleted.

Loading

0 comments on commit 713eaf3

Please sign in to comment.