import React from "react";
import { ExtraProps } from "react-markdown";
import { MarkdownTableScroll } from "./markdown-table-scroll";
// Custom component to render
in markdown
export function table({
children,
}: React.ClassAttributes &
React.TableHTMLAttributes &
ExtraProps) {
return (
);
}
// Custom component to render in markdown
export function th({
children,
}: React.ClassAttributes &
React.ThHTMLAttributes &
ExtraProps) {
return (
|
{children}
|
);
}
// Custom component to render in markdown
export function td({
children,
}: React.ClassAttributes &
React.TdHTMLAttributes &
ExtraProps) {
return (
|
{children}
|
);
}
| |