transformRtl() — ui Function Reference
Architecture documentation for the transformRtl() function in transform-rtl.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 0f7c4c2a_9a83_527f_4a25_a54cc1e6c65d["transformRtl()"] 800d6a7b_126c_42b5_bf8e_f313b0852251["transform-rtl.ts"] 0f7c4c2a_9a83_527f_4a25_a54cc1e6c65d -->|defined in| 800d6a7b_126c_42b5_bf8e_f313b0852251 1c2c6582_0b98_c637_71b3_268008d4d10c["applyRtlTransformToSourceFile()"] 0f7c4c2a_9a83_527f_4a25_a54cc1e6c65d -->|calls| 1c2c6582_0b98_c637_71b3_268008d4d10c style 0f7c4c2a_9a83_527f_4a25_a54cc1e6c65d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/shadcn/src/utils/transformers/transform-rtl.ts lines 97–105
export const transformRtl: Transformer = async ({ sourceFile, config }) => {
if (!config.rtl) {
return sourceFile
}
applyRtlTransformToSourceFile(sourceFile)
return sourceFile
}
Domain
Subdomains
Source
Frequently Asked Questions
What does transformRtl() do?
transformRtl() is a function in the ui codebase, defined in packages/shadcn/src/utils/transformers/transform-rtl.ts.
Where is transformRtl() defined?
transformRtl() is defined in packages/shadcn/src/utils/transformers/transform-rtl.ts at line 97.
What does transformRtl() call?
transformRtl() calls 1 function(s): applyRtlTransformToSourceFile.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free