Last active
July 16, 2019 02:02
-
-
Save vincentmvdm/5c5fbc560bc87d3f5ff85669be6f68ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function ProgressBar(): Override { | |
const getProgressBarWidth = transform([0, 48000], [48, 375], { | |
ease: t => t, | |
}) | |
return { | |
width: `${getProgressBarWidth(data.elapsedMs)}px`, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment