fix: Fixed mdx components have any types instead of their correct types#2079
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
|
WalkthroughWalkthroughThe changes across various files primarily involve the modification of SVG attribute names from kebab-case to camelCase to align with React's JSX syntax. This includes attributes such as Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant BlogCodeBlock
participant BlogImage
participant ImageWithBlur
User->>BlogCodeBlock: Render with props
BlogCodeBlock->>BlogImage: Pass props
BlogImage->>ImageWithBlur: Conditional rendering based on props
ImageWithBlur->>User: Rendered image output
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Additional comments not posted (15)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Thank you for following the naming conventions for pull request titles! 🙏 |


What does this PR do?
Fixes # (issue)
Eng-1258
If there is not an issue for this, please create one first. This is used to tracking purposes and also helps use understand why this PR exists
Type of change
How should this be tested?
Blog types are working and all images show correctly.
Checklist
Required
pnpm buildpnpm fmtconsole.logsgit pull origin mainAppreciated
Summary by CodeRabbit
New Features
Introduced enhanced type definitions for components, improving type safety and clarity.
Updated image handling to utilize the optimized
ImageWithBlurcomponent.Bug Fixes
Documentation
Refactor
Summary by CodeRabbit
New Features
MdxComponentsfor better rendering performance.Bug Fixes
Documentation
BlogCodeBlock,BlogImage,BlogList, andBlogQuotecomponents, improving their reusability.Refactor