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 59f5bb8 commit 30fb519Copy full SHA for 30fb519
docuilib/src/theme/ReactLiveScope/configurations.ts
@@ -2,5 +2,10 @@ import {ThemeManager} from 'react-native-ui-lib/core';
2
3
ThemeManager.setComponentForcedTheme('Icon', props => {
4
const {source} = props;
5
- return source?.source ? source : undefined;
+ return source?.default ? {source: source.default} : source?.source ? source : undefined;
6
+});
7
+
8
+ThemeManager.setComponentForcedTheme('Image', props => {
9
+ const {source} = props;
10
+ return source?.default ? {source: source.default} : source;
11
});
0 commit comments