Bump deps (#183)

This commit is contained in:
Jaco Greeff
2019-08-09 11:00:56 +02:00
committed by GitHub
parent 93679c24d0
commit e0e542342f
9 changed files with 76 additions and 63 deletions
+10 -5
View File
@@ -4,7 +4,7 @@ A generic identity icon that can render icons based on an address.
## Usage Examples
To install the component, do `yarn add @polkadot/vue-identicon` and then use it with `import Identicon from '@polkadot/vu-identicon';`
To install the component, do `yarn add @polkadot/vue-identicon` and then use it with `import Identicon from '@polkadot/vue-identicon';`
Inside a Vue component, you can now render any account with the associated icon, with associated props -
@@ -14,19 +14,24 @@ Inside a Vue component, you can now render any account with the associated icon,
- `polkadot` or
- `substrate` (equivalent to `jdenticon`) or
- `beachball` or
- `empty` (displaying nothing)
- `empty` (displays nothing)
```
<template>
<Identicon
:size="128"
:theme="polkadot"
:value="5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
:theme="'polkadot'"
:value="'5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'"
/>
</template>
<script>
import Identicon from '@polkadot/vue-identicon';
...
export default {
...
components: { Identicon }
...
};
</script>
```