Skip to content

Commit

Permalink
docs: added addWhitelistedNativeProps dev note
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Apr 26, 2020
1 parent caefd5d commit 082f3b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/AnimatedTabBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import {
TabBarAnimationConfigurableProps,
} from './types';

/**
* @DEV
* this is needed for react-native-svg to animate on the native thread.
* @external (https://github.com/software-mansion/react-native-reanimated/issues/537)
*/
Animated.addWhitelistedNativeProps({
width: true,
stroke: true,
Expand Down

0 comments on commit 082f3b5

Please sign in to comment.