Components
Named composition slots
A component can receive separate renderable inputs to place content in different structural regions.
Formal Syntax & Structure
react syntaxreact
<Panel footer={<p>Done</p>}>Body</Panel>Working Example
Example Snippetreact
function Panel({ children, footer }) { return <article>{children}<footer>{footer}</footer></article>; }