Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
add button icon examples
  • Loading branch information
DoritoBandito authored Aug 7, 2018
1 parent 17dafb5 commit 719db5e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,29 @@ Include the script file, then install the component with `Vue.use(UploadButton);

Once installed, it can be used in a template as simply as:

Simple Upload button
```html
<upload-btn></upload-btn>
```

Button with icon
```html
<upload-btn>
<template slot="icon">
<v-icon>add</v-icon>
</template>
</upload-btn>
```

Button as icon
```html
<upload-btn icon>
<template slot="icon">
<v-icon>add</v-icon>
</template>
</upload-btn>
```

## Props

You can use the following props
Expand Down

0 comments on commit 719db5e

Please sign in to comment.