From fe3900b3232bf4565f85846f66ce398a19d12f07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=9D=B1=E6=BE=94?= Date: Thu, 2 Jun 2022 16:41:00 +0800 Subject: [PATCH] docs: fixed example link error --- README.md | 34 ++++++++++++++++------------------ README.zh-CN.md | 35 ++++++++++++++++------------------- 2 files changed, 32 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 9e7c1743..34a23eed 100644 --- a/README.md +++ b/README.md @@ -23,27 +23,25 @@ English | [简体中文](./README.zh-CN.md) > Click on the image to see the code snippets. [[Try it]](https://snack.expo.dev/@zhaodonghao586/simple-carousel) 🍺 -[11](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/normal/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/normal/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/parallax/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/parallax/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/stack/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/stack/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/stack/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/stack/index.tsx) +| | | | +| :--------------------------------------------------------------: | :---------------------------------------------------------------: | :----------------------------------------------------------------: | +| normal-horizontal | normal-vertical | parallax-horizontal | +| | | | +| parallax-vertical | stack-horizontal-left | stack-horizontal-right | +| | | | +| stack-vertical-left | stack-vertical-right | stack-horizontal-right | > Now you can make cool animations with us! Very easy! [[Details]](./docs/custom-animation.md) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/advanced-parallax/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/pause-advanced-parallax/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/scale-fade-in-out/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/rotate-scale-fade-in-out/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/rotate-in-out/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/anim-tab-bar/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/marquee/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/multiple/index.tsx) -[

](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/parallax-layers/index.tsx) -[

](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/flow/index.tsx) +| | | | +| :-------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------: | :-----------------------------------------------------------------------: | +| advanced-parallax | pause-advanced-parallax | scale-fade-in-out | +| | | | +| rotate-scale-fade-in-out | rotate-in-out | anim-tab-bar | +| | | | +| marquee | multiple | | +| | | | +| parallax-layers | multiple | | ## Table of contents diff --git a/README.zh-CN.md b/README.zh-CN.md index 12cc66cb..303782c1 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -23,28 +23,25 @@ > 点击图片,查看代码 [[试一下]](https://snack.expo.dev/@zhaodonghao586/simple-carousel) 🍺 -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/normal/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/normal/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/parallax/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/parallax/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/stack/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/stack/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/stack/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/stack/index.tsx) +| | | | +| :--------------------------------------------------------------: | :---------------------------------------------------------------: | :----------------------------------------------------------------: | +| normal-horizontal | normal-vertical | parallax-horizontal | +| | | | +| parallax-vertical | stack-horizontal-left | stack-horizontal-right | +| | | | +| stack-vertical-left | stack-vertical-right | stack-horizontal-right | > 现在你可以和我们一起来制作酷炫的动画了! 非常简单! [[详情]](./docs/custom-animation.zh-CN.md) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/advanced-parallax/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/pause-advanced-parallax/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/scale-fade-in-out/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/rotate-scale-fade-in-out/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/rotate-in-out/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/anim-tab-bar/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/marquee/index.tsx) -[](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/multiple/index.tsx) -[

](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/parallax-layers/index.tsx) -[

](https://github.com/dohooo/react-native-reanimated-carousel/tree/main/example/src/flow/index.tsx) - +| | | | +| :-------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------: | :-----------------------------------------------------------------------: | +| advanced-parallax | pause-advanced-parallax | scale-fade-in-out | +| | | | +| rotate-scale-fade-in-out | rotate-in-out | anim-tab-bar | +| | | | +| marquee | multiple | | +| | | | +| parallax-layers | multiple | | ## 目录