@ygyg/rc-channel
channel-desk ui component for react
Last updated 3 months ago by fugangb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ygyg/rc-channel 
SYNC missed versions from official npm registry.

rc-channel

React component for portal-channel(channel-desk).

NPM version [![build status][travis-image]][travis-url] npm download

install

rc-channel

Development

npm install
npm start

Example

npm install @ygyg/rc-channel

Usage

import ProductIntro from 'rc-channel';
import SunCointImg from '../assets/img/suncoint.png';
import YouXuanImg from '../assets/img/icon-sunYX@2x.png';


const data = {
  retCode: '0000000',
  retDesc: '操作成功!',
  timestamp: '2020-06-19 10:06:09.282',
  rspBody: {
    ...
  },
};
const ImgConfig = {
  SunCointImg,
  YouXuanImg,
};

React.render(<ProductIntro data={data.rspBody} {...ImgConfig} />, mountNode);

API

Properties

License

rc-channel is released under the MIT license.

Current Tags

  • 1.0.2                                ...           latest (2 months ago)

4 Versions

  • 1.0.2                                ...           2 months ago
  • 1.0.1-beta.1                                ...           3 months ago
  • 1.0.1                                ...           3 months ago
  • 1.0.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 14
Last Day 1
Last Week 2
Last Month 12
Dependencies (9)
Dev Dependencies (33)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |