feat: Add markdown components
This commit is contained in:
26 files changed
+551
-258
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import React, { memo } from 'react';
|
||||
|
||||
import { Code } from '../../Code/Code';
|
||||
|
||||
import type { CodeProps } from '../../Code/Code';
|
||||
|
||||
/**
|
||||
* A Markdown code component for inline snippets.
|
||||
*/
|
||||
export const MarkdownCode = memo(function MarkdownCode(props: CodeProps) {
|
||||
return <Code {...props} />;
|
||||
});
|
||||
Reference in new issue
Block a user