import React, { type ReactNode } from "react" import clsx from "clsx" import type { Props } from "@theme/Admonition/Layout" function AdmonitionContainer({ className, children, }: Pick & { children: ReactNode }) { return (
{children}
) } function AdmonitionHeading({ icon }: Pick) { return {icon} } function AdmonitionContent({ children }: Pick) { return children ? (
*:last-child]:mb-0", "[&>p>code]:px-0.5 [&>p>code]:text-code-label" )} > {children}
) : null } export default function AdmonitionLayout(props: Props): JSX.Element { const { type, icon, children, className } = props return ( {children} ) }