feat(Stepper): add theme prop (#6282)

* feat(Stepper): add theme prop

* docs: add round theme doc
This commit is contained in:
neverland
2020-05-15 16:43:37 +08:00
committed by GitHub
parent 26e9492d79
commit 8307b3d9ad
7 changed files with 78 additions and 9 deletions

View File

@@ -25,6 +25,7 @@ export default createComponent({
props: {
value: null,
theme: String,
integer: Boolean,
disabled: Boolean,
inputWidth: [Number, String],
@@ -278,7 +279,7 @@ export default createComponent({
});
return (
<div class={bem()}>
<div class={bem([this.theme])}>
<button
vShow={this.showMinus}
type="button"