From 0aee69d9aa709678ef8cca4961e8749da1977a83 Mon Sep 17 00:00:00 2001 From: Tim Glasgow Date: Fri, 5 Aug 2022 22:52:19 -0500 Subject: [PATCH] rename slider --- squarenotsquare/src/components/Slider.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/squarenotsquare/src/components/Slider.js b/squarenotsquare/src/components/Slider.js index a0ecbe4..bc95f15 100644 --- a/squarenotsquare/src/components/Slider.js +++ b/squarenotsquare/src/components/Slider.js @@ -2,7 +2,7 @@ import React from "react"; import { Animated, Easing} from "react-native"; import { useEffect, useState } from "react"; -function LeftToRight(props){ +function Slider(props){ const [xPosition, setXPosition] = useState(new Animated.Value(props.origin)); useEffect(() => { @@ -24,4 +24,4 @@ function LeftToRight(props){ ) } -export default LeftToRight; \ No newline at end of file +export default Slider; \ No newline at end of file