Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const animateProgressBar = ({ steps = 1, size = 10 }) =>
map(i => progressBar({ size, percent: i / (steps - 1) }))(range(0)(steps))