Home / Function/ ResizableRtl() — ui Function Reference

ResizableRtl() — ui Function Reference

Architecture documentation for the ResizableRtl() function in resizable-rtl.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  d6984487_e039_7de0_4b87_d56d452782a4["ResizableRtl()"]
  0ca1a529_e290_aaa7_efde_398e4f626fda["resizable-rtl.tsx"]
  d6984487_e039_7de0_4b87_d56d452782a4 -->|defined in| 0ca1a529_e290_aaa7_efde_398e4f626fda
  style d6984487_e039_7de0_4b87_d56d452782a4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/resizable-rtl.tsx lines 42–74

export function ResizableRtl() {
  const { dir, t } = useTranslation(translations, "ar")

  return (
    <ResizablePanelGroup
      orientation="horizontal"
      className="max-w-sm rounded-lg border"
      dir={dir}
    >
      <ResizablePanel defaultSize="50%">
        <div className="flex h-[200px] items-center justify-center p-6">
          <span className="font-semibold">{t.one}</span>
        </div>
      </ResizablePanel>
      <ResizableHandle withHandle />
      <ResizablePanel defaultSize="50%">
        <ResizablePanelGroup orientation="vertical" dir={dir}>
          <ResizablePanel defaultSize="25%">
            <div className="flex h-full items-center justify-center p-6">
              <span className="font-semibold">{t.two}</span>
            </div>
          </ResizablePanel>
          <ResizableHandle withHandle />
          <ResizablePanel defaultSize="75%">
            <div className="flex h-full items-center justify-center p-6">
              <span className="font-semibold">{t.three}</span>
            </div>
          </ResizablePanel>
        </ResizablePanelGroup>
      </ResizablePanel>
    </ResizablePanelGroup>
  )
}

Subdomains

Frequently Asked Questions

What does ResizableRtl() do?
ResizableRtl() is a function in the ui codebase, defined in apps/v4/examples/base/resizable-rtl.tsx.
Where is ResizableRtl() defined?
ResizableRtl() is defined in apps/v4/examples/base/resizable-rtl.tsx at line 42.

Analyze Your Own Codebase

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

Try Supermodel Free