antdcom

data access component of ant

Usage no npm install needed!

<script type="module">
  import antdcom from 'https://cdn.skypack.dev/antdcom';
</script>

README

圈人相关组件 使用方式: npm install antdcom

使用例子:

import React from 'react';
import ReactDOM from 'react-dom';
import App from 'antdcom';
//组件初始化的参数
let option = {
    //功能id
    functionId: '1',	
    //分类id
    categoryIds: ['1', '2'] 
};
ReactDOM.render(
    <App option={option}></App>,
    document.querySelector('#dcom')
);