[new feature] Tabs: add background prop (#2772)
This commit is contained in:
@@ -20,6 +20,7 @@ export default sfc({
|
||||
animated: Boolean,
|
||||
offsetTop: Number,
|
||||
swipeable: Boolean,
|
||||
background: String,
|
||||
ellipsis: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
@@ -91,7 +92,8 @@ export default sfc({
|
||||
|
||||
navStyle() {
|
||||
return {
|
||||
borderColor: this.color
|
||||
borderColor: this.color,
|
||||
background: this.background
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
line-height: @tabs-line-height;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
background-color: @white;
|
||||
|
||||
span {
|
||||
display: block;
|
||||
|
||||
Reference in New Issue
Block a user