UNPKG

@hypothesis/frontend-shared

Version:

Shared components, styles and utilities for Hypothesis projects

23 lines 717 B
var _jsxFileName = "/home/runner/work/frontend-shared/frontend-shared/src/pattern-library/index.tsx"; // Entry point for extending the pattern library import { render } from 'preact'; // Enable preact debug checks import 'preact/debug'; import PlaygroundApp from './components/PlaygroundApp'; import { jsxDEV as _jsxDEV } from "preact/jsx-dev-runtime"; /** * Render the pattern-library preact app */ export function startApp({ ...componentProps } = {}) { const container = document.querySelector('#app'); render(_jsxDEV(PlaygroundApp, { ...componentProps }, void 0, false, { fileName: _jsxFileName, lineNumber: 44, columnNumber: 10 }, this), container); } //# sourceMappingURL=index.js.map