function MyComponent({ firstName }) { const someMethod = () => { console.log(firstName); }; return ( 相关标签: