in src/Request.tsx [16:35]
export default function Request({ type }: Props) {
return (
<>
{type.generics &&
<CollapsingDetails header="Generics">
{type.generics.map(g => (
<CollapsingType key={`${g.namespace}::${g.name}`} namespace={g.namespace} name={g.name} />
))}
</CollapsingDetails>
}
{type.inherits && <Inherits inherits={type.inherits} />}
{type.path.length > 0 && <Properties header="Path properties" properties={type.path} />}
{type.query.length > 0 && <Properties header="Query properties" properties={type.query} />}
<Body body={type.body} />
{type.behaviors && <Behaviors behaviors={type.behaviors} />}
{type.attachedBehaviors && <AttachedBehaviors behaviors={type.attachedBehaviors} />}
{type.examples && <Examples examples={type.examples} />}
</>
);
}