UNPKG

undeexcepturi

Version:

TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.

18 lines (17 loc) 624 B
import React from 'react'; import clsx from 'clsx'; import {blogPostContainerID} from '@docusaurus/utils-common'; import {useBlogPost} from '@docusaurus/theme-common/internal'; import MDXContent from '@theme/MDXContent'; export default function BlogPostItemContent({children, className}) { const {isBlogPostPage} = useBlogPost(); return ( <div // This ID is used for the feed generation to locate the main content id={isBlogPostPage ? blogPostContainerID : undefined} className={clsx('markdown', className)} itemProp="articleBody"> <MDXContent>{children}</MDXContent> </div> ); }