这两个组件是等价的: functionApp1(){return<GreetingfirstName="Ben"lastName="<em>Hector</em>"/>;}functionApp2(){constprops