Skip to content

Commit

Permalink
feat: support to install toast module under namespaced module (#12)
Browse files Browse the repository at this point in the history
* chore: bump deps

* feat: allow to pass namespace string to Toast component

* docs: add namespace prop to toast component

* chore: update deprecated flow syntax to a new one
  • Loading branch information
ktsn authored Feb 16, 2018
1 parent 22ac08b commit b9c2f47
Show file tree
Hide file tree
Showing 6 changed files with 13,196 additions and 48 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ export default {
A Vue component that shows toast messages.

- props
- position
- html
- `position`
- `html`
- `namespace`
- Vuex module's namespace if you install toast module into some namespaced module.

### `createModule(options): VuexModule`
Create Vuex module for managing toast messages.
Expand Down
4 changes: 2 additions & 2 deletions flow/lib.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// @flow

declare module vue {
declare var exports: any;
declare module.exports: any;
}

declare module vuex {
declare var exports: any;
declare module.exports: any;
}
Loading

0 comments on commit b9c2f47

Please sign in to comment.