Skip to content

PandaUED/panda-design

Folders and files

NameName
Last commit message
Last commit date
Oct 11, 2017
Sep 30, 2017
Feb 6, 2018
Oct 27, 2017
Sep 22, 2017
Oct 19, 2017
Sep 30, 2017
Sep 25, 2017
Sep 25, 2017
Sep 30, 2017
Oct 27, 2017
Sep 25, 2017
Sep 12, 2017
Nov 3, 2017
Nov 28, 2017

Repository files navigation

Pandora

PanD React UI Components

RoadMap

Usage

# 安装依赖,配置环境和link
$ yarn run root

# 生成 roadhog.dll 并启动项目,有新包需要重新build
$ yarn build:dll
$ yarn start

# 创建合并请求
$ yarn merge

Trello

https://trello.com/b/Ae62EniM/fe

组件池 -> 编写组件库 -> API Doc -> Done

Link

样式: 需安装WebStorm插件

styled: 一些扩展方法,如颜色运算等

react点击反馈: 应用于Button之类的组件

prop类型检测: 方便Debug和文档书写

js常用工具库:

参考组件写法:

框架:

##注意事项

因为将ui框架放进主工程出现了比较严重的循环引用问题,所以我们约定:

  • 不要在component里使用import .. from pand;
  • 最好避免默认导出 (export default) 这样的使用,直接命名导出 export,引用的时候也具体引用