We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01ba3c1 commit 1266712Copy full SHA for 1266712
packages/perseus-editor/src/preview/sanitize-api-options.ts
@@ -1,4 +1,6 @@
1
/* eslint-disable @typescript-eslint/no-unused-vars */
2
+import React from "react";
3
+
4
import type {APIOptions} from "@khanacademy/perseus";
5
6
/**
@@ -22,9 +24,10 @@ export function sanitizeApiOptions(
22
24
trackInteraction: ______,
23
25
setDrawingAreaAvailable: ________,
26
baseElements: _________,
27
+ nativeKeypadProxy: __________,
28
// Remove React nodes (placeholders)
- imagePlaceholder: __________,
- widgetPlaceholder: ___________,
29
+ imagePlaceholder: ___________,
30
+ widgetPlaceholder: ____________,
31
...serializableOptions
32
} = apiOptions;
33
0 commit comments