feat: Add markdown components
This commit is contained in:
26 files changed
+551
-258
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import React, { memo } from 'react';
|
||||
|
||||
import { Blockquote } from '../../Blockquote/Blockquote';
|
||||
|
||||
import type { BlockquoteProps } from '../../Blockquote/Blockquote';
|
||||
|
||||
/**
|
||||
* A Markdown blockquote component that wraps the design system Blockquote.
|
||||
*
|
||||
* Automatically applies gutterBottom and indentation.
|
||||
*/
|
||||
export const MarkdownBlockquote = memo(function MarkdownBlockquote(props: BlockquoteProps) {
|
||||
return <Blockquote gutterBottom indent {...props} />;
|
||||
});
|
||||
Reference in new issue
Block a user