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 591a02e commit 155a710Copy full SHA for 155a710
src/editors/sharedComponents/SelectableBox/index.jsx
@@ -11,7 +11,10 @@ const INPUT_TYPES = [
11
'checkbox',
12
];
13
14
-const SelectableBox = React.forwardRef(({
+// The 'type: any' below is to avoid some errors while this file lacks proper
15
+// types. But we can probably soon just delete this file and use the upstream
16
+// Paragon.
17
+const SelectableBox = /** @type {any} */ (React.forwardRef(({
18
type,
19
value,
20
checked,
@@ -74,7 +77,7 @@ const SelectableBox = React.forwardRef(({
74
77
{children}
75
78
</div>
76
79
);
-});
80
+}));
81
82
SelectableBox.propTypes = {
83
/** Content of the `SelectableBox`. */
0 commit comments