Home / File/ dialog-no-close-button.tsx — ui Source File

dialog-no-close-button.tsx — ui Source File

Architecture documentation for dialog-no-close-button.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx DocumentationAtlas Changelog 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  45057feb_c835_3cc9_b71d_bc9015f6ff2a["dialog-no-close-button.tsx"]
  4b1d2128_46d9_46f0_b915_b6e1925b7876["button"]
  45057feb_c835_3cc9_b71d_bc9015f6ff2a --> 4b1d2128_46d9_46f0_b915_b6e1925b7876
  cd433a12_a20e_c2ab_21fc_4d4945c6d923["dialog"]
  45057feb_c835_3cc9_b71d_bc9015f6ff2a --> cd433a12_a20e_c2ab_21fc_4d4945c6d923
  style 45057feb_c835_3cc9_b71d_bc9015f6ff2a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/radix/ui/button"
import {
  Dialog,
  DialogContent,
  DialogDescription,
  DialogHeader,
  DialogTitle,
  DialogTrigger,
} from "@/examples/radix/ui/dialog"

export function DialogNoCloseButton() {
  return (
    <Dialog>
      <DialogTrigger asChild>
        <Button variant="outline">No Close Button</Button>
      </DialogTrigger>
      <DialogContent showCloseButton={false}>
        <DialogHeader>
          <DialogTitle>No Close Button</DialogTitle>
          <DialogDescription>
            This dialog doesn&apos;t have a close button in the top-right
            corner.
          </DialogDescription>
        </DialogHeader>
      </DialogContent>
    </Dialog>
  )
}

Subdomains

Dependencies

  • button
  • dialog

Frequently Asked Questions

What does dialog-no-close-button.tsx do?
dialog-no-close-button.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in dialog-no-close-button.tsx?
dialog-no-close-button.tsx defines 1 function(s): DialogNoCloseButton.
What does dialog-no-close-button.tsx depend on?
dialog-no-close-button.tsx imports 2 module(s): button, dialog.
Where is dialog-no-close-button.tsx in the architecture?
dialog-no-close-button.tsx is located at apps/v4/examples/radix/dialog-no-close-button.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free