From 330d531fc30d908ff177474657940b6e65a0342c Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sun, 29 Nov 2020 10:50:55 +0300 Subject: [PATCH] Docs for Avatar --- src/components/avatar/Avatar.d.ts | 2 +- src/components/avatar/Avatar.vue | 5 +- src/views/avatar/AvatarDemo.vue | 24 ++-- src/views/avatar/AvatarDoc.vue | 231 +++++++++++++++++++++++++++++- 4 files changed, 240 insertions(+), 22 deletions(-) diff --git a/src/components/avatar/Avatar.d.ts b/src/components/avatar/Avatar.d.ts index 9065d5826..738b2c3ff 100644 --- a/src/components/avatar/Avatar.d.ts +++ b/src/components/avatar/Avatar.d.ts @@ -1,7 +1,7 @@ import Vue from 'vue'; declare class Avatar extends Vue { - letter?: string; + label?: string; icon?: string; image?: string; } diff --git a/src/components/avatar/Avatar.vue b/src/components/avatar/Avatar.vue index 2c7df72e6..c64c79497 100644 --- a/src/components/avatar/Avatar.vue +++ b/src/components/avatar/Avatar.vue @@ -1,7 +1,7 @@