import React from 'react';
const Bar = ({ animationDuration, progress, }) => (React.createElement("div", { className: "loading_bar_parent", style: {
        marginLeft: `${(-1 + progress) * 100}%`,
        transition: `margin-left ${animationDuration}ms linear`,
    } },
    React.createElement("div", { className: "loading_bar_children" })));
export default Bar;
