@alicd/ground-ui

React components based on antd-mobile

Usage no npm install needed!

<script type="module">
  import alicdGroundUi from 'https://cdn.skypack.dev/@alicd/ground-ui';
</script>

README

Ground-UI

基于antd-mobile提供更多场景的交互封装,可覆盖移动端90%的页面交互场景。

访问:http://page-pre.cainiao-inc.com/cn/ground-ui/index.html

更新通知


    ground-ui从0.0.36版本开始包名改成 @alicd/ground-ui ,之前使用@ali/ground-ui包的应用不受影响,只是新的ground-ui组件需要在package.json文件中将 @ali/ground-ui 改成 @alicd/ground-ui
    

目录介绍


  - build 组件 doc 发布目录
  - npm-dist 组件发布目录,在目录下运行 tnpm publish
  - src
    - 组件名
  - stories
    - 组件示例

组件开发

  npm start

  look: http://localhost:6006

组件发布

  修改 CHANGELOG.md
  tnpm run build-npm
  tnpm publish build/

组件规范


export default class A extend React.Component{

  static propTypes = {
    /* 描述props */
    a: PropType.string
  }

  static defaultProps = {

  }

  render(){

  }

}