Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git] / applications / drive / src / app / components / SharedPage / Layout / HeaderSize.tsx
blob04aa8a2b3f1f4986e9fe4f4b0be16e66abddfb19
1 import { shortHumanSize } from '@proton/shared/lib/helpers/humanSize';
3 interface Props {
4     size: number;
6 const HeaderSize = ({ size }: Props) => {
7     const readableSize = shortHumanSize(size);
9     return (
10         <div>
11             <span className="color-disabled mx-2" aria-hidden="true">
12                 •
13             </span>
14             <span className="color-weak text-pre">{readableSize}</span>
15         </div>
16     );
19 export default HeaderSize;