【文件属性】:
文件名称:sgds-govtech-react:对SGDS的组件进行React
文件大小:210KB
文件格式:ZIP
更新时间:2021-04-13 02:12:31
JavaScript
sgds-govtech-react
由提供支持的React组件。
React文档,可以发现-
我们处于早期开发阶段! 如果您要尝试sgds-govtech-react,请随时在问题页面上给我们反馈,甚至提交 !
安装
npm install sgds-govtech-react
对等依赖
请注意,sgds-govtech-react具有样式组件的对等依赖性-两个软件包都需要安装。
用法
您首先需要在网站的<head>元素中或通过前端构建导入 css样式。
例如, create-react-app用户应将CSS插入public/index.html的<head>中
< head >
< link
rel =" stylesheet "
href =" https://cdn.jsdelivr.net/npm/sgds-govtech@1.3.15/css/sg
【文件预览】:
sgds-govtech-react-master
----.gitignore(367B)
----package.json(2KB)
----package-lock.json(671KB)
----src()
--------components()
--------lib()
----CHANGELOG.md(255B)
----.github()
--------workflows()
----README.md(3KB)
----.babelrc.json(222B)
----.storybook()
--------main.js(435B)
--------preview.js(103B)
--------sgds-import.scss(100B)
----stories()
--------components()
--------notes()
--------lib()
--------index.stories.js(2KB)
--------pages()
--------shared-styles.js(752B)