import * as React from "react";
import * as ReactDOM from "react-dom";
import {
Catalog,
markdown,
ReactSpecimen,
Config,
Page,
pageLoader,
HtmlSpecimen,
TableSpecimen,
ColorSpecimen,
ColorPaletteSpecimen,
CodeSpecimen
} from "catalog";
const MyPage = () => markdown`
# Hello
${(
I can also be any Element
}, { path: "/foo", title: "Foo", content: MyPage }, { path: "/bar", title: "Bar", content: pageLoader("./bar.md") }, { title: "Materials", pages: [ { path: "/materials/typeface", title: "Typeface", content: pageLoader(() => import("./test-page")) }, { path: "/materials/typeface2", title: "Typeface2", content: pageLoader(() => import("./test-page-2")) } ] } ], useBrowserHistory: true, basePath: "/doc", responsiveSizes: [ { name: "large", width: 978, height: 1100 }, { name: "medium", width: 640, height: 900 }, { name: "small", width: 471, height: 700 } ] }; ReactDOM.render(