openmrs-react-root-decorator:移至openmrs-esm-core

时间:2021-05-08 05:14:22
【文件属性】:
文件名称:openmrs-react-root-decorator:移至openmrs-esm-core
文件大小:86KB
文件格式:ZIP
更新时间:2021-05-08 05:14:22
JavaScript 不推荐使用-移至openmrs-esm-core openmrs-react-root-decorator的旧文档 根React组件的修饰器。 安装 npm install --save @openmrs/react-root-decorator 用法 import openmrsRootDecorator from "@openmrs/react-root-decorator" ; // Exported only for testing the component without the decorator being there. // You should use the default export for everything but tests. export function MyRoot ( props ) { return < div> My compone
【文件预览】:
openmrs-react-root-decorator-master
----.gitignore(918B)
----__mocks__()
--------openmrs-esm-module-config.mock.tsx(88B)
--------i18next.mock.tsx(88B)
--------react-i18next.mock.tsx(68B)
----README.md(2KB)
----LICENSE(16KB)
----.eslintrc(85B)
----package.json(2KB)
----src()
--------openmrs-react-root-decorator.d.ts(394B)
--------openmrs-react-root-decorator.test.js(1KB)
--------openmrs-react-root-decorator.js(4KB)
----.babelrc(120B)
----jest.config.js(264B)
----.travis.yml(172B)
----package-lock.json(286KB)

网友评论