[Doc] new theme

This commit is contained in:
陈嘉涵
2019-05-15 20:53:04 +08:00
parent 3cae4288f2
commit d0f4169c86
130 changed files with 1460 additions and 1147 deletions
+8 -6
View File
@@ -1,4 +1,4 @@
## ActionSheet
# ActionSheet
### Install
``` javascript
@@ -7,9 +7,9 @@ import { ActionSheet } from 'vant';
Vue.use(ActionSheet);
```
### Usage
## Usage
#### Basic Usage
### Basic Usage
Use `actions` prop to set options of action-sheet.
@@ -43,7 +43,7 @@ export default {
}
```
#### Status
### Status
```html
<van-action-sheet
@@ -67,7 +67,7 @@ export default {
}
```
#### ActionSheet with cancel button
### ActionSheet with cancel button
```html
<van-action-sheet
@@ -79,7 +79,7 @@ export default {
/>
```
#### ActionSheet with title
### ActionSheet with title
```html
<van-action-sheet v-model="show" title="Title">
@@ -87,6 +87,8 @@ export default {
</van-action-sheet>
```
## API
### Props
| Attribute | Description | Type | Default |