checking in editor.jsx file

This commit is contained in:
Quinn Dougherty 2022-07-27 17:42:46 -04:00
parent a46f50dd0f
commit 2279624750

View File

@ -12,3 +12,15 @@ export function SquiggleEditor(props) {
</BrowserOnly> </BrowserOnly>
); );
} }
export function SquiggleEditorImportedBindings(props) {
return (
<BrowserOnly fallback={<FallbackSpinner height={292} />}>
{() => {
const LibComponent =
require("@quri/squiggle-components").SquiggleEditorImportedBindings;
return <LibComponent {...props} />;
}}
</BrowserOnly>
);
}