normalizeProps() — astro Function Reference
Architecture documentation for the normalizeProps() function in runtime.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 87820b92_cb9d_cbde_2524_fd7221237e3b["normalizeProps()"] 7fdc3f21_0a35_05d8_60c6_78c31cc2f5e3["runtime.ts"] 87820b92_cb9d_cbde_2524_fd7221237e3b -->|defined in| 7fdc3f21_0a35_05d8_60c6_78c31cc2f5e3 1a16c340_065e_0766_43ef_206ae0bd9586["createSvgComponent()"] 1a16c340_065e_0766_43ef_206ae0bd9586 -->|calls| 87820b92_cb9d_cbde_2524_fd7221237e3b bfbe0b28_257a_e046_cafa_90c6182cd7b6["dropAttributes()"] 87820b92_cb9d_cbde_2524_fd7221237e3b -->|calls| bfbe0b28_257a_e046_cafa_90c6182cd7b6 style 87820b92_cb9d_cbde_2524_fd7221237e3b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/assets/runtime.ts lines 57–59
function normalizeProps(attributes: SvgAttributes, props: SvgAttributes) {
return dropAttributes({ ...DEFAULT_ATTRS, ...attributes, ...props });
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does normalizeProps() do?
normalizeProps() is a function in the astro codebase, defined in packages/astro/src/assets/runtime.ts.
Where is normalizeProps() defined?
normalizeProps() is defined in packages/astro/src/assets/runtime.ts at line 57.
What does normalizeProps() call?
normalizeProps() calls 1 function(s): dropAttributes.
What calls normalizeProps()?
normalizeProps() is called by 1 function(s): createSvgComponent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free