import React from "react";
import { Flex, TextSmall } from "@netdata/netdata-ui";
const DurationBox = ({ isPlaying, duration }) => {
    return (React.createElement(Flex, { gap: 1 },
        React.createElement(Flex, { width: "24px", justifyContent: "center" }, isPlaying && (React.createElement(TextSmall, { color: "text", whiteSpace: "nowrap" }, "\u2022 last"))),
        React.createElement(TextSmall, { color: "text", whiteSpace: "nowrap" }, duration)));
};
export default DurationBox;
//# sourceMappingURL=durationBox.js.map