Chore: Update swagger API documentation (#745)

* Chore: Update swagger documentation
This commit is contained in:
Pranav Raj S 2020-04-20 11:55:06 +05:30 committed by GitHub
parent 5736f687e8
commit 06153a96ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 190 additions and 110 deletions

View file

@ -1,9 +1,6 @@
<template>
<header class="header-expanded">
<!-- <img
class="logo"
src=""
/> -->
<img v-if="avatarUrl" class="logo" :src="avatarUrl" />
<span class="close close-button" @click="closeWindow"></span>
<h2 class="title">
{{ introHeading }}
@ -21,14 +18,17 @@ import { IFrameHelper } from 'widget/helpers/utils';
export default {
name: 'ChatHeaderExpanded',
props: {
avatarUrl: {
type: String,
default: '',
},
introHeading: {
type: String,
default: 'Hi there ! 🙌🏼',
default: '',
},
introBody: {
type: String,
default:
'We make it simple to connect with us. Ask us anything, or share your feedback.',
default: '',
},
},
computed: {
@ -53,14 +53,14 @@ export default {
@import '~widget/assets/scss/mixins.scss';
.header-expanded {
padding: $space-larger $space-medium $space-large;
padding: $space-large $space-medium $space-large;
width: 100%;
box-sizing: border-box;
position: relative;
.logo {
width: 64px;
height: 64px;
width: 56px;
height: 56px;
}
.close {
@ -74,7 +74,7 @@ export default {
font-size: $font-size-mega;
font-weight: $font-weight-normal;
margin-bottom: $space-slab;
margin-top: $space-large;
margin-top: $space-medium;
}
.body {