-
+
),
+ thead: ({ children, node: _, ...props }) =>
{children},
+ tbody: ({ children, node: _, ...props }) =>
{children},
+ tr: ({ children, node: _, ...props }) =>
{children}
,
+ th: ({ children, node: _, ...props }) => (
+
+ {children}
+ |
+ ),
+ td: ({ children, node: _, ...props }) => (
+
+ {children}
+ |
+ ),
pre: ({ children }) => (
{children}
@@ -626,7 +644,8 @@ function CollapsibleCard({
defaultOpen = false,
forceOpen,
summary,
- className
+ className,
+ style: styleProp,
}: {
children: React.ReactNode;
defaultOpen?: boolean;
@@ -634,6 +653,7 @@ function CollapsibleCard({
forceOpen?: boolean;
summary: React.ReactNode;
className?: string;
+ style?: React.CSSProperties;
}) {
const [open, setOpen] = useState(defaultOpen);
// Track whether the user explicitly collapsed while forceOpen is active
@@ -657,12 +677,12 @@ function CollapsibleCard({
const isOpen = forceOpen === true ? !userCollapsed : open;
return (
-
+