提交 4edb6187 编写于 作者: A afc163

Merge branch 'develop-0.10.0' of github.com:ant-design/ant-design into develop-0.10.0

# 添加
- order: 4
- hidden: true
演示添加删除功能。
......@@ -23,9 +22,6 @@ var addStyle = {
pointerEvents: 'auto',
color: 'black',
};
var extraStyle = {
float: 'right'
};
var Test = React.createClass({
getInitialState() {
......@@ -77,7 +73,7 @@ var Test = React.createClass({
return <Tabs
onChange={this.onChange}
activeKey={this.state.activeKey}
tabBarExtraContent={<div style={extraStyle}><Button type="primary">其它操作</Button></div>}>
tabBarExtraContent={<Button type="primary">其它操作</Button>}>
{
this.state.tabs.map((t)=>{
return <TabPane key={t.title} tab={<div>{t.title} <Icon type="cross" style={closeStyle} onClick={this.remove.bind(this,t.title)}></Icon></div>}>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册