Skip to content

Commit

Permalink
i
Browse files Browse the repository at this point in the history
  • Loading branch information
paranoidjk committed Mar 2, 2017
1 parent c5f1e74 commit 08a25e0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ tab bar with ink indicator, in addition to tab bar props, extra props:

scrollable tab bar with ink indicator, same with tab bar/ink bar props.

### lib/SwipeableInkTabBar
### lib/SwipeableInkTabBar (Use for Mobile)

swipeable tab bar with ink indicator, same with tab bar/ink bar props, and below is the additional props.

Expand All @@ -254,7 +254,7 @@ swipeable tab bar with ink indicator, same with tab bar/ink bar props, and below
<tr>
<td>pageSize</td>
<td>number</td>
<th><5/th>
<th>5</th>
<td>show how many tabs at one page</td>
</tr>
<tr>
Expand Down Expand Up @@ -313,7 +313,7 @@ swipeable tab bar with ink indicator, same with tab bar/ink bar props, and below

### lib/SwipeableTabContent

swipeable tab panes, in addition to lib/TabContent props, extra props:
swipeable tab panes, in addition to lib/TabContent props, extra props:

<table class="table table-bordered table-striped">
<thead>
Expand All @@ -334,7 +334,6 @@ swipeable tab panes, in addition to lib/TabContent props, extra props:
</tbody>
</table>


## Note

If you want to support old browsers(which does not support flex/css-transition),
Expand Down
4 changes: 1 addition & 3 deletions assets/index/left.less
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
flex-direction: column;
height: 100%;
.@{tabs-prefix-cls}-tab {
margin-right: 0;
padding: 0 34px;
justify-content: center;
}
}
Expand Down Expand Up @@ -89,4 +87,4 @@
&-left &-tab {
padding: 16px 24px;
}
}
}
4 changes: 1 addition & 3 deletions assets/index/right.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
flex-direction: column;
height: 100%;
.@{tabs-prefix-cls}-tab {
margin-right: 0;
padding: 0 34px;
justify-content: center;
}
}
Expand Down Expand Up @@ -88,4 +86,4 @@
&-right &-tab {
padding: 16px 24px;
}
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"start": "rc-tools run server",
"pub": "rc-tools run pub --babel-runtime",
"lint": "rc-tools run lint",
"watch": "rc-tools run watch",
"karma": "rc-tools run karma",
"saucelabs": "rc-tools run saucelabs",
"test": "jest",
Expand Down

0 comments on commit 08a25e0

Please sign in to comment.