import React, {useState} from 'react'; import Slider from '@mui/material/Slider'; import Box from '@mui/material/Box'; import {Accordion, AccordionSummary, AccordionDetails, Button} from '@mui/material'; import ExpandMoreIcon from "@mui/icons-material/ExpandMore"; let _animationProgress; export function setAnimationProgress(animationProgress) { _animationProgress = animationProgress; //TODO need update progress bar here } function AnimationPanel({setAnimationPlaying, setAnimationStopPlaying, controlAnimation}) { const [value, setValue] = useState(0); return (
}> Animation { setValue(newValue); controlAnimation(newValue); }} aria-labelledby="continuous-slider" />
); } export default AnimationPanel;