Skip to content

Commit

Permalink
Update animated-images.md (#1922)
Browse files Browse the repository at this point in the history
* Update animated-images.md

Added information about AnimatedImage also supports animated webp

* Update animated-images.md

---------

Co-authored-by: William Candillon <[email protected]>
  • Loading branch information
XantreDev and wcandillon authored Oct 17, 2023
1 parent e5b8fdb commit bd1ae93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/docs/animated-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_label: Animated Images
slug: /animated-images
---

React Native Skia supports animated images.
React Native Skia supports animated images. Supported formats are GIF and animated WebP.

## Using Reanimated

Expand All @@ -22,6 +22,7 @@ import {
} from "@shopify/react-native-skia";

export const AnimatedImages = () => {
// This can be an animated GIF or WebP file
const bird = useAnimatedImageValue(
require("../../assets/birdFlying.gif")
);
Expand Down

0 comments on commit bd1ae93

Please sign in to comment.