Commit d3f3cb89 authored by Pramodh Rajapakse's avatar Pramodh Rajapakse

count down component modified

parent 139d5c5f
...@@ -3,7 +3,8 @@ const themeColors = { ...@@ -3,7 +3,8 @@ const themeColors = {
SECONDARY_COLOR : '#808080', SECONDARY_COLOR : '#808080',
TERTIARY_COLOR : '#CECECE', TERTIARY_COLOR : '#CECECE',
BLACK : '#191919', BLACK : '#191919',
WHITE : '#FFFFFF' WHITE : '#FFFFFF',
RED : '#DC143C'
}; };
export default themeColors; export default themeColors;
...@@ -9,10 +9,11 @@ const AppCountDownTimer = () => ( ...@@ -9,10 +9,11 @@ const AppCountDownTimer = () => (
size={40} size={40}
strokeWidth={5} strokeWidth={5}
duration={10} duration={10}
trailColor={themeColors.WHITE}
colors={[ colors={[
['#004777', 0.4], [themeColors.BLACK, 0.4],
['#F7B801', 0.4], [themeColors.SECONDARY_COLOR, 0.4],
['#A30000', 0.2], [themeColors.RED, 0.2],
]} ]}
> >
{({ remainingTime }) => ( {({ remainingTime }) => (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment