The prop is a function, so it must be invoked.
Acceptance criteria
- 1.#value should show Ada!
The prop is a function, so it must be invoked.
function Shell({ render }) { return <div id="value">nothing rendered</div> } function App() { return <Shell render={(label) => label + "!"} /> } const root = ReactDOM.createRoot(document.getElementById("root")) root.render(<App />)
Output ready when you are
Press Run to render your code, or Submit to validate your solution.