ยฉ 2026 Hedgehog Software, LLC
const Test = (props: ParentProps & { label?: JSXElement }) => { return ( <div> <Show when={props.label}>{props.label}</Show> {props.children} </div> ) }
<Test label={<Test>Hello</Test>}>World</Test>