使用Context 的Consumer (可以使用多個Context). class App extends React.Component { render() { return ( <ThemeContext.Provider value={{ fontColor: ...
確定! 回上一頁