Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

555 B
Raw Blame
import { splitProps } from 'solid-js';

import { Card, type CardProps } from '@/components/shared/Card';

export type TableCardProps = Omit<CardProps, 'border' | 'padding' | 'tone'>;

export const TABLE_CARD_FRAME_CLASS = 'overflow-hidden';

export function TableCard(props: TableCardProps) {
  const [local, rest] = splitProps(props, ['class']);

  return (
    <Card
      {...rest}
      border={true}
      padding="none"
      tone="card"
      class={`${TABLE_CARD_FRAME_CLASS} ${local.class ?? ''}`.trim()}
    />
  );
}

export default TableCard;