Home / Type/ MDXContentProps Type — astro Architecture

MDXContentProps Type — astro Architecture

Architecture documentation for the MDXContentProps type/interface in content.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  e154a9b4_e769_87c1_64d6_9a3e19cb5f78["MDXContentProps"]
  7547ecbb_58ef_bc2d_b119_f58ad78d86f6["content.ts"]
  e154a9b4_e769_87c1_64d6_9a3e19cb5f78 -->|defined in| 7547ecbb_58ef_bc2d_b119_f58ad78d86f6
  style e154a9b4_e769_87c1_64d6_9a3e19cb5f78 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/types/public/content.ts lines 52–57

export interface MDXContentProps {
	/** Custom components to use for MDX elements (e.g., h1, h2, img, a, etc.) */
	components?: Record<string, AstroComponentFactory>;
	/** Any additional props to pass to the MDX content */
	[key: string]: any;
}

Frequently Asked Questions

What is the MDXContentProps type?
MDXContentProps is a type/interface in the astro codebase, defined in packages/astro/src/types/public/content.ts.
Where is MDXContentProps defined?
MDXContentProps is defined in packages/astro/src/types/public/content.ts at line 52.

Analyze Your Own Codebase

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

Try Supermodel Free