aboutsummaryrefslogtreecommitdiff
path: root/src/components/common/PostCarousel.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-21 13:57:09 -0400
committerGitHub <noreply@github.com>2021-04-21 13:57:09 -0400
commit4e8e1c0d58424e6b63cfb8470fc0a73c0e6b102b (patch)
tree5b2dcc2daffc5b6f4fa2ae2b55c5548a12b6210c /src/components/common/PostCarousel.tsx
parentb556f97a7eae3f9d9fce2d9c5c25f419ba77fa14 (diff)
parentf902c4938344dd25d82d7d01035476f488db2b24 (diff)
Merge pull request #370 from IvanIFChen/tma795-move-create-button
[TMA-795/796] Move create button
Diffstat (limited to 'src/components/common/PostCarousel.tsx')
-rw-r--r--src/components/common/PostCarousel.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/common/PostCarousel.tsx b/src/components/common/PostCarousel.tsx
index cda9d8db..be3dcb16 100644
--- a/src/components/common/PostCarousel.tsx
+++ b/src/components/common/PostCarousel.tsx
@@ -1,6 +1,7 @@
import React, {Fragment, useRef, useState} from 'react';
import {Image} from 'react-native';
import Carousel, {Pagination} from 'react-native-snap-carousel';
+import {TAGG_LIGHT_BLUE_2} from '../../constants';
import {SCREEN_WIDTH} from '../../utils';
interface PostCarouselProps {
@@ -39,7 +40,7 @@ const PostCarousel: React.FC<PostCarouselProps> = ({
activeDotIndex={currentPage}
dotsLength={data.length}
containerStyle={{marginBottom: marginBottom}}
- dotColor={'#6ee7e7'}
+ dotColor={TAGG_LIGHT_BLUE_2}
inactiveDotColor={'#e0e0e0'}
/>
</>