Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
8 years ago
paranoidjk
4d3f574d05
fix: typo; caused by #4435
8 years ago
kun sam
b6217e62df
add warning when using Breadcrumb without its Item ( #4435 )
* add warning when using Breadcrumb without its Item
fix issue ' Warning: Unknown prop `separator` on <div> tag. When I using Breadcrumb #4403'
ps: 我是个前端beginner, - ( ゜- ゜)つロ, 这是我第一个PR welcome, 如果写错或者还有更好的写法请大神指正。thanks
* remove compatible and use type as condition
按照 @benjycui 的意见去掉了兼容项,并使用type判断
8 years ago
偏右
0062867274
Feature 2.6 ( #4429 )
* new Layout Component (#4087 )
* change Anchor type
* new Layout
* Component update && add snap
* Revert "new Layout Component" (#4131 )
* add Layout (#4169 )
* add Layout
* update
* fix snapshot
* Improve layout component
1. update demo code
2. drop `position` of Sider
3. improve demo style
8 years ago
Benjy Cui
c4d8c4770c
Add upgrade warning ( #4028 )
* chore: add upgrade warning for time related value
* chore: update warning
* chore: update demo url
8 years ago
Benjy Cui
60ecb3c628
refactor: each message should warn just once
8 years ago
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
yiminghe
c2d3f16dfb
update tslint
8 years ago
Albert Zheng
23dd825afd
【Please review】Fixes for supporting TypeScript 2.0.3 ( #3439 )
* Fixes for supporting TypeScript 2.0.3
* Fixes for supporting TypeScript 2.0.3. Issue is #3358
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
Benjy Cui
c754a3d3d4
chore: add warning for breaking changes
8 years ago
Benjy Cui
14fb2c78ba
chore: remove deprecated code ( #2920 )
* chore: remove deprecated code
* chore: add warning for Breadcrumb
8 years ago
afc163
a7874cd2a2
change `linkRender` and `nameRender` to a simpler `itemRender`, close #2871
8 years ago
afc163
730dbc72f7
Add typings
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
3264f6b956
move paths as linkRender argument ( #2002 )
9 years ago
afc163
4b05250a6b
Fix breadcrumbName replace ( #1797 )
9 years ago
afc163
f0f8f5e687
Add route and params to nameRender ( #2002 )
9 years ago
plandem
9d4a6848c1
fixed case when linkRender must accept raw paths
9 years ago
plandem
f6da6ef38b
added nameFormatter for routes
9 years ago
afc163
8116e775ff
upgrade devDeps and fix some eslint problems
9 years ago
Benjy Cui
794783d1c2
style: enable react/no-multi-comp
9 years ago
afc163
06de76b7f4
spanRender => nameRender, ref #1304
9 years ago
afc163
921d3bce46
hidden breadcrumb href in Doc
9 years ago
Bruno Maia
03c4c73471
Parameterize span rendering
9 years ago
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
9 years ago
fanzheng.fz
99a44e9b5e
always concat paths wether there's a breadcrumbName or not
9 years ago
fanzheng.fz
60dadfb899
always concat paths wether there's a breadcrumbName or not
9 years ago
Bruce Mitchener
63c06e8652
Use ES2015 classes instead of React.createClass.
Make Breadcrumb, Checkbox, Dropdown, Steps and Timeline
components use ES2015 classes rather than React.createClass.
This includes:
* getDefaultProps method becomes a defaultProps value on the
constructor.
* propTypes becomes a value on the constructor.
9 years ago
afc163
27e879f444
support linkRender in breadcrumb, fix #1026
9 years ago
Benjy Cui
29825f20c8
style: update code style to please lint
9 years ago
afc163
271aaf29e1
fix breadcrumb link, close #968
9 years ago
afc163
d1b06abdf5
Fix Breabcrumb link with router params, and no longer need prop router
9 years ago
afc163
66b7ee81ad
fix eslint problems, eslint-config-airbnb@4.x
9 years ago
Benjy Cui
41ed04e977
style: update code style to please lint
9 years ago
Benjy Cui
711d2d7413
style: update code style to please lint
9 years ago
afc163
8604a9a2d2
slash -> separator, #641
9 years ago
afc163
a068e58dd4
Add slash prop, close #641
9 years ago
afc163
c14dcc7e40
fix #571
9 years ago
afc163
961a679a9f
upgrade to fit react-router@1.0.0-rc1
9 years ago
afc163
691b0147b1
update eslintrc and fix code
9 years ago
afc163
53ce7a25c1
Add breadcrumbName
9 years ago
afc163
bec1c69669
Fit breadcrumb to react-router@1.x, close #172
9 years ago
ustccjw
41c35903a4
remove use strict
9 years ago
yiminghe
bb5a6d9c29
fix breadcrumb warning
10 years ago
afc163
925f811b45
remove react-router dependency from breadcrumb
10 years ago
afc163
c42ca53d91
breadcrumb
10 years ago
afc163
e551caddd5
support params in breadcrumb displayName
10 years ago
afc163
86e5a523ac
breadcrumb & router
10 years ago