Files
ItzLinaton f573796549 Feat: Added startup command copy button (V2) (#7297)
Added a startup command copy button to the server startup page.

---

<img width="807" height="161"
alt="{8878188F-11F7-4EF5-B020-2D5C6AB12B94}"
src="https://github.com/user-attachments/assets/affe9c30-b74d-49a9-b5cb-e4adc121fe98"
/>
2026-10-16 14:12:23 -04:00

22 lines
632 B
TypeScript

import type React from 'react';
import type { LucideIcon } from 'lucide-react';
import Card from '@/components/elements/Card';
interface Props {
icon?: LucideIcon;
title: string | React.ReactNode;
actions?: React.ReactNode;
className?: string;
contentClassName?: string;
children: React.ReactNode;
}
/** A `Card` with a header. */
const TitledGreyBox = ({ icon, title, actions, children, className, contentClassName }: Props) => (
<Card title={title} icon={icon} actions={actions} className={className} bodyClassName={contentClassName}>
{children}
</Card>
);
export default TitledGreyBox;