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 { Separator } from '../../Separator/Separator';
|
||||
|
||||
import type { SeparatorProps } from '../../Separator/Separator';
|
||||
|
||||
/**
|
||||
* A Markdown horizontal rule component that wraps the design system Separator.
|
||||
*/
|
||||
export const MarkdownHR = memo(function MarkdownHR(props: SeparatorProps) {
|
||||
return <Separator className="my-8" {...props} />;
|
||||
});
|
||||
Reference in new issue
Block a user