// src/App.jsx function Box({ children }) { return (
{children}
); } function App() { return (

A heading

Just a paragraph of text.

); } export default App; /* Notes: - Box itself never changes between the three usages — only the children passed between its tags differ each time. - This is the core benefit of composition: one wrapper component, reused for completely different inner content, with the border styling written exactly once. */