JSPM

react-native-cz-panel

0.0.8
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q9986F
  • License MIT

Package Exports

  • react-native-cz-panel

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-cz-panel) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Manual installation

npm install react-native-cz-panel --save

###依赖库

npm install react-native-cz-pack-element --save

npm install react-native-cz-scroll-tab --save

Usage

1.引入组件

import PanelView from 'react-native-cz-panel';

//Root的componentDidMount中初始化日志视图
this.panelView = new PanelView();

2.使用方法(目前只支持收集字符串类型)

全局只要做到第一部初始化即可。只是收集日志信息的话,需要做特殊处理:
正常的是 console.log('这里是日志1'),这种会显示在Console视图下;
如果想分开查看,使用console.log('key***Custom***key' + '这里是日志2'),这种会显示在Custom视图下。