-
-
Save reime005/6d717be8a4c5499e6718ddeee7f3db2f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Animated from 'react-native-reanimated'; | |
import Svg, { Circle as _Circle, Defs, ClipPath } from 'react-native-svg'; | |
const Circle = Animated.createAnimatedComponent(_Circle); | |
render() { | |
return( | |
<Svg> | |
<Defs> | |
<ClipPath id="clip"> | |
<Circle cy="40" animatedProps={firstProps} /> | |
<Circle cy="40" animatedProps={secondProps} /> | |
</ClipPath> | |
</Defs> | |
... | |
</Svg> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment