【文件属性】:
文件名称:Github_Profile_Viewer:使用github API(react.js应用)搜索和显示github用户信息
文件大小:284KB
文件格式:ZIP
更新时间:2021-02-14 20:34:20
JavaScript
实时网址: :
CSS(全局样式,样式化的组件)
使用index.js可以更轻松地导入
样式化的组件
import styled from " styled-components " ;
const ReactComponent = () => {
// logic here
return < Wrapper>
{ some content }
Wrapper>
}
const Wrapper = styled . htmlElement `
write your styles here
`
export default ReactComponent
React图标
import { FiUsers , FiUserPlus } from ' react-icons/fi ' ;
< FiUsers className = ' nameOfTheClass '>
【文件预览】:
Github_Profile_Viewer-master
----public()
--------manifest.json(492B)
--------index.html(2KB)
--------robots.txt(67B)
--------favicon.ico(3KB)
--------logo512.png(9KB)
--------_redirects(23B)
--------logo192.png(5KB)
----src()
--------pages()
--------index.css(3KB)
--------images()
--------components()
--------App.js(557B)
--------context()
--------App.test.js(280B)
--------setupTests.js(255B)
--------serviceWorker.js(5KB)
--------index.js(862B)
----README.md(3KB)
----.gitignore(310B)
----package-lock.json(582KB)
----package.json(984B)