Home / Function/ DialogNoCloseButton() — ui Function Reference

DialogNoCloseButton() — ui Function Reference

Architecture documentation for the DialogNoCloseButton() function in dialog-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  d4233cdf_9f1f_c838_b492_4c123fab7469["DialogNoCloseButton()"]
  c1073453_2b4c_c2d5_cfa5_9971cf4ab47b["dialog-example.tsx"]
  d4233cdf_9f1f_c838_b492_4c123fab7469 -->|defined in| c1073453_2b4c_c2d5_cfa5_9971cf4ab47b
  style d4233cdf_9f1f_c838_b492_4c123fab7469 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/dialog-example.tsx lines 199–223

function DialogNoCloseButton() {
  return (
    <Example title="No Close Button" className="items-center justify-center">
      <Dialog>
        <DialogTrigger render={<Button variant="outline" />}>
          No Close 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>
          <DialogFooter>
            <DialogClose render={<Button variant="outline" />}>
              Close
            </DialogClose>
          </DialogFooter>
        </DialogContent>
      </Dialog>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does DialogNoCloseButton() do?
DialogNoCloseButton() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/dialog-example.tsx.
Where is DialogNoCloseButton() defined?
DialogNoCloseButton() is defined in apps/v4/registry/bases/base/examples/dialog-example.tsx at line 199.

Analyze Your Own Codebase

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

Try Supermodel Free