Problem Statement
How can you create a functional component that returns a static layout using JSX?
Explanation
Simply return JSX markup from a function. For static content, you don’t need state or hooks.
Code Solution
SolutionRead Only
function Table(){ return (<table><tr><td>No data</td></tr></table>); }Practice Sets
This question appears in the following practice sets: