[new feature] SubmitBar: add tip-icon prop (#3249)

This commit is contained in:
Jake
2019-05-04 08:12:06 +08:00
committed by neverland
parent e3cb465dc2
commit c799e07d84
7 changed files with 28 additions and 4 deletions
+2
View File
@@ -28,6 +28,7 @@ Vue.use(SubmitBar);
:price="3050"
button-text="Submit"
tip="Some tips"
tip-icon="info-o"
@submit="onSubmit"
/>
```
@@ -69,6 +70,7 @@ Use slot to add custom contents.
| button-text | Button text | `String` | - |
| button-type | Button type | `String` | `danger` |
| tip | Tip | `String` | - |
| tip-icon | Icon | `String` | - |
| disabled | Whether to disable button | `Boolean` | `false` |
| loading | Whether to show loading icon | `Boolean` | `false` |
| currency | Currency symbol | `String` | `¥` |