---
import type { AstroNode } from './astroNode';
type Props = {
node: AstroNode;
};
const Node = (Astro.props as Props).node;
---
{
typeof Node === 'string' ? (
) : 'component' in Node ? (
{Node.children.map((child) => (
))}
) : (
`} />
{Node.children.map((child) => (
))}
`} />
)
}