[Improvement] Actionsheet: support disable option (#1293)

This commit is contained in:
neverland
2018-06-16 10:14:06 +08:00
committed by GitHub
parent d0674a1d8e
commit 90609bf30e
7 changed files with 41 additions and 14 deletions
+5
View File
@@ -33,6 +33,10 @@ export default {
{
name: 'Option',
loading: true
},
{
name: 'Disabled Option',
disabled: true
}
]
};
@@ -86,4 +90,5 @@ Actionsheet will get another style if there is a `title` prop.
| subname | Subtitle |
| className | className for the option |
| loading | Whether to be loading status |
| disabled | Whether to be disabled |
| callback | Triggered when click option |