import React from "react";
import { Flex, TextSmall } from "@netdata/netdata-ui";
const DurationBox = ({ isPlaying, duration }) => (React.createElement(Flex, { gap: 2 },
    React.createElement(Flex, { width: "24px", justiyContent: "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