disqus-react:一个针对Disqus的React组件

时间:2024-05-22 02:45:03
【文件属性】:

文件名称:disqus-react:一个针对Disqus的React组件

文件大小:155KB

文件格式:ZIP

更新时间:2024-05-22 02:45:03

reactjs disqus comments JavaScript

React 一个用于将服务集成到React应用程序中的软件包。 安装 使用 : $ npm install --save disqus-react 使用: $ yarn add disqus-react 用法 嵌入讨论 这是将加载主要的Disqus评论部分的组件。 import { DiscussionEmbed } from 'disqus-react' ; < DiscussionEmbed shortname = 'example' config = { { url : this . props . article . url , identifier : this . props . article . id , title : this . props . artic


【文件预览】:
disqus-react-master
----.gitignore(1KB)
----.babelrc(162B)
----package.json(2KB)
----src()
--------CommentEmbed.jsx(1KB)
--------DiscussionEmbed.jsx(3KB)
--------index.js(328B)
--------utils.js(2KB)
--------CommentCount.jsx(2KB)
--------constants.js(490B)
----.eslintrc.yaml(5KB)
----LICENSE(1KB)
----types()
--------index.d.ts(2KB)
----.github()
--------PULL_REQUEST_TEMPLATE.md(1KB)
--------ISSUE_TEMPLATE()
----examples()
--------index.jsx(8KB)
--------index.html(920B)
----README.md(3KB)
----tests()
--------CommentEmbed.js(2KB)
--------CommentCount.js(3KB)
--------DiscussionEmbed.js(2KB)
----config()
--------jest.config.js(543B)
--------jest-preprocess.js(207B)
--------webpack.examples.config.js(778B)
--------webpack.dist.config.js(844B)
--------setup-test-env.js(50B)
----.eslintignore(36B)
----.gitattributes(378B)
----docs()
--------CONTRIBUTING.md(8KB)
--------CHANGELOG.md(2KB)
----yarn.lock(338KB)

网友评论