import React from "react"; import prettyBytes from "pretty-bytes"; import dayjs from "dayjs"; import ellipsize from "ellipsize"; import { map } from "lodash"; import { DownloadProgressTick } from "./DownloadProgressTick"; export const AirDCPPBundles = (props) => { return (
{map(props.data, (bundle, index) => ( ))}
Filename Size Download Status Bundle ID
{ellipsize(bundle.name, 58)}

{ellipsize(bundle.target, 88)}

{prettyBytes(bundle.size)} {bundle.id}
); };