0.0.1 • Published 5 years ago

@alicd/ground-ui v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

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(){

  }

}