//Lib import React from 'react'; import classes from './Repo.module.css'; import { IconSettings, IconInfoCircle } from '@tabler/icons'; import timestampConverter from '../../helpers/functions/timestampConverter'; import StorageBar from '../UI/StorageBar/StorageBar'; import QuickCommands from './QuickCommands/QuickCommands'; export default function Repo(props) { return ( <> {props.displayDetails ? ( <>
Repository | Storage Size | Storage Used | Last change | ID | Edit |
---|---|---|---|---|---|
{props.repository} | {props.storageSize}Go |
|
{props.lastSave === 0
? '-'
: timestampConverter(
props.lastSave
)}
|
#{props.id} |
|