feat: add basic webui
This commit is contained in:
10
packages/cms/components/body.tsx
Normal file
10
packages/cms/components/body.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { MDXContent } from '@content-collections/mdx/react';
|
||||
import type { ComponentProps } from 'react';
|
||||
|
||||
type BodyProperties = Omit<ComponentProps<typeof MDXContent>, 'code'> & {
|
||||
content: ComponentProps<typeof MDXContent>['code'];
|
||||
};
|
||||
|
||||
export const Body = ({ content, ...props }: BodyProperties) => (
|
||||
<MDXContent {...props} code={content} />
|
||||
);
|
||||
Reference in New Issue
Block a user