Skip to content

Commit

Permalink
Path's d updates as native props instead of ui props (#1491)
Browse files Browse the repository at this point in the history
* use different approach

* Update shim.js

* lint
  • Loading branch information
osdnk authored Dec 22, 2020
1 parent b80e614 commit 9265e27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ import '@ethersproject/shims';
import AsyncStorage from '@react-native-community/async-storage';
// eslint-disable-next-line import/default
import ReactNative from 'react-native';
import Animated from 'react-native-reanimated';
import Storage from 'react-native-storage';
import logger from 'logger';

ReactNative.Platform.OS === 'ios' &&
Animated.addWhitelistedNativeProps({ d: true });

const storage = new Storage({
defaultExpires: null,
enableCache: true,
Expand Down

0 comments on commit 9265e27

Please sign in to comment.