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