mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-29 02:51:29 +02:00
14 lines
473 B
TypeScript
14 lines
473 B
TypeScript
import { ReactNode } from "react";
|
|
import { cn } from "@/lib/cn";
|
|
|
|
// DialogDescription is the supporting description text rendered under a
|
|
// DialogHeading inside ConfirmDialog (and similar dialog surfaces).
|
|
type DialogDescriptionProps = {
|
|
children: ReactNode;
|
|
className?: string;
|
|
};
|
|
|
|
export const DialogDescription = ({ children, className }: DialogDescriptionProps) => (
|
|
<p className={cn("text-sm text-nb-gray-300 select-none", className)}>{children}</p>
|
|
);
|