diff --git a/native/components/enum-settings-option.react.js b/native/components/enum-settings-option.react.js
--- a/native/components/enum-settings-option.react.js
+++ b/native/components/enum-settings-option.react.js
@@ -9,7 +9,7 @@
type InputType = 'radio' | 'checkbox';
type EnumSettingsOptionProps = {
- +icon?: string,
+ +icon?: string | React.Node,
+name: string,
+description: string,
+enumValue: boolean,
@@ -34,11 +34,15 @@
return null;
}
- return (
-
-
-
- );
+ if (typeof icon === 'string') {
+ return (
+
+
+
+ );
+ }
+
+ return icon;
}, [icon, styles.enumIcon, colors.purpleButton]);
const infoContainerStyle = React.useMemo(