import { Head } from '@inertiajs/react'
import SettingsLayout from '~/layouts/SettingsLayout'
import { SystemInformationResponse } from '../../../types/system'
import { formatBytes } from '~/lib/util'
const Section = ({ title, children }: { title: string; children: React.ReactNode }) => {
return (
)
}
const Row = ({ label, value }: { label: string; value: string | number | undefined }) => {
return (
{label}
{value}
)
}
export default function SettingsPage(props: {
system: { info: SystemInformationResponse | undefined }
}) {
return (
System Information
{props.system.info?.disk.map((disk, index) => (
))}
)
}