'use client'
import { AlertTriangle } from 'lucide-react'
import React from 'react'
import { cn } from '../../utils/cn'
export interface WarningBlockProps {
/** Text rendered inside the highlighted warning banner header. */
title: React.ReactNode
/**
* Icon shown at the start of the banner. Defaults to a triangle alert icon.
* Pass `null` to hide the icon entirely.
*/
icon?: React.ReactNode
/**
* Body content rendered below the banner — description paragraphs, one or more
* `PathsDisplay` lists, command rows, etc. Fully composable so a single block
* can mix text and multiple path groups (see the New Device warning blocks).
*/
children?: React.ReactNode
/** Extra classes for the outer card container. */
className?: string
}
const DEFAULT_ICON =
{title}