文件名称:react-context-dark-mode
文件大小:212KB
文件格式:ZIP
更新时间:2024-06-16 04:16:51
JavaScript
使用上下文API和挂钩的React应用程序中的黑暗模式 如果您想学习如何构建此应用程序,请参阅。 要克隆存储库,请运行 https://github.com/zolomohan/react-context-dark-mode-starter.git 要安装依赖项,请运行 npm install 一旦安装了依赖项,就可以运行该应用程序了。 和, npm start 这将在端口3000中启动该应用程序。从浏览器访问以查看该应用程序。
【文件预览】:
react-context-dark-mode-master
----.eslintcache(1KB)
----public()
--------manifest.json(492B)
--------index.html(2KB)
--------robots.txt(67B)
--------favicon.ico(4KB)
--------logo512.png(9KB)
--------logo192.png(5KB)
----yarn.lock(492KB)
----src()
--------ThemeContext.js(581B)
--------index.css(378B)
--------Button.js(582B)
--------App.js(2KB)
--------App.css(818B)
--------index.js(311B)
----README.md(643B)
----.gitignore(310B)
----package.json(812B)