react-native-dynamic-render:J从Json对象渲染

时间:2021-05-02 09:40:05
【文件属性】:
文件名称:react-native-dynamic-render:J从Json对象渲染
文件大小:297KB
文件格式:ZIP
更新时间:2021-05-02 09:40:05
json react-native dynamic render TypeScript React本机动态渲染· 从Json对象渲染 例子 在线简单示例: : 在线高级示例: : 安装 yarn add react-native-dynamic-render 或者 npm i react-native-dynamic-render 用法 import DynamicComponent from "react-native-dynamic-render" ; import { Text , View } from "react-native" ; export default function App ( ) { const mapComponents = { text : Text , /* Or Your custom component */ view : View } ; const props = { name : "v
【文件预览】:
react-native-dynamic-render-master
----images()
--------cover.png(31KB)
----package.json(2KB)
----__tests__()
--------index.test.tsx(5KB)
--------__snapshots__()
----.github()
--------PULL_REQUEST_TEMPLATE.md(794B)
--------ISSUE_TEMPLATE.md(388B)
--------workflows()
----.prettierrc(76B)
----.prettierignore(66B)
----LICENSE(1KB)
----package-lock.json(558KB)
----src()
--------propsMap.ts(564B)
--------ComponentMap.tsx(1KB)
--------types.ts(269B)
----.npmignore(27B)
----.eslintrc.js(583B)
----jest.config.json(295B)
----tsconfig.json(6KB)
----.gitignore(1005B)
----README.md(3KB)
----yarn.lock(344KB)
----.eslintignore(63B)
----index.ts(324B)

网友评论