Method 2: function BigComponent(props) { const smallComponent1 = <div>{props.a}</div>; const smallComponent2 = <div>{props.b}</div>; ...
確定! 回上一頁