replace-node.astro 270 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 --- import Children from './children.astro' const { props: { Component, args, node, special, ...rest } } = Astro --- {!special && <Component {...node.attributes} {...args}> <Children parent={node} children={node.children} special={special} {...rest}/> </Component> }