({ children, ...props }: { children?: React.ReactNode })
| 17 | // Define markdown components |
| 18 | const MarkdownComponents: React.ComponentProps<typeof ReactMarkdown>['components'] = { |
| 19 | p({ children, ...props }: { children?: React.ReactNode }) { |
| 20 | return <p className="mb-3 text-sm leading-relaxed dark:text-white" {...props}>{children}</p>; |
| 21 | }, |
| 22 | h1({ children, ...props }: { children?: React.ReactNode }) { |
| 23 | return <h1 className="text-xl font-bold mt-6 mb-3 dark:text-white" {...props}>{children}</h1>; |
| 24 | }, |
nothing calls this directly
no outgoing calls
no test coverage detected