feat: enable live component rendering in MDX docs
- Register all 24 components in mdx-components.tsx via client boundary - MDX files can now render real components inline (not just code blocks) - media.mdx updated with live Figure and PullQuote demos
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
'use client';
|
||||
export {
|
||||
Layout, Section, Article, Layer, Masthead, Rule, Footer,
|
||||
Headline, Subhead, Kicker, BodyText, Quote, Byline, Dateline, Caption,
|
||||
Image, Figure, Video, PullQuote,
|
||||
BreakingNewsBanner, Folio, IndexBox, Factbox, RelatedArticles, AuthorCard,
|
||||
} from 'newspaperui';
|
||||
Reference in New Issue
Block a user