export function header()

in src/main/js/components/simple-grid/simple-grid-row.js [126:157]


export function header(hasDistributionKey = false) {
    return <>
        <tr>
            <th scope="col" className="px-6 text-sm font-medium text-blue-100 tracking-wider"
                style={{padding: "1rem"}}>
                <span>Status</span>
            </th>
            <th scope="col" className="px-6 text-sm font-medium text-blue-100 tracking-wider"
                style={{padding: "1rem"}}>
                <span>Hosts</span>
            </th>
            {hasDistributionKey ?
                <th scope="col" className="px-6 text-sm font-medium text-blue-100 tracking-wider"
                    style={{padding: "1rem"}}>
                    <span>Distribution key</span>
                </th> : <></>
            }
            <th scope="col" className="px-6 text-sm font-medium text-blue-100 tracking-wider"
                style={{padding: "1rem"}}>
                <span>CPU usage</span>
            </th>
            <th scope="col" className="px-6 text-sm font-medium text-blue-100 tracking-wider"
                style={{padding: "1rem"}}>
                <span>Memory usage</span>
            </th>
            <th scope="col" className="px-6 text-sm font-medium text-blue-100 tracking-wider"
                style={{padding: "1rem"}}>
                <span>Disk usage</span>
            </th>
        </tr>
    </>
}