Files
MikrotikManager/components/data-page-card.tsx
T
DenozordecandCursor 5f29cfaf0f
Docker images / prepare-release (push) Successful in 4s
Docker images / backend-image (push) Failing after 2m36s
Docker images / frontend-image (push) Successful in 2m22s
Docker images / notify-webhook (push) Skipped
Docker images / updater-image (push) Successful in 55s
Docker images / publish-release (push) Skipped
fix(ui): выровнять chrome Frame и убрать Card-оболочки
Подключить App Switcher, NavUser, OpsPanel и AlertDialog вместо Card-shell.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 15:36:56 +07:00

23 lines
706 B
TypeScript

import type { ReactNode } from "react"
import { Frame, FramePanel } from "@/components/reui/frame"
import { DATA_PAGE_CARD_CLASS } from "@/components/data-grids/shared/data-grid-layout"
import { cn } from "@/lib/utils"
interface DataPageCardProps {
children: ReactNode
className?: string
}
/** Ops list shell — ReUI Frame, not shadcn Card. Preview: https://reui.io/docs/components/base/frame */
function DataPageCard({ children, className }: DataPageCardProps) {
return (
<Frame dense className={cn("w-full", className)}>
<FramePanel className={cn(DATA_PAGE_CARD_CLASS, "p-0")}>
{children}
</FramePanel>
</Frame>
)
}
export { DataPageCard, type DataPageCardProps }