0.1.1 • Published 4 years ago
atechtrustpilotsection v0.1.1
atechtrustpilotsection
Installation
npm install atechtrustpilotsection
Usage
You must install atechtrustpilotsection
via Vue.use()
in main.js
import Vue from 'vue';
import AtechTrustPilotSection from 'atechtrustpilotsection';
Vue.use(AtechTrustPilotSection);
Using on a component
<atech-trust-pilot-section v-if="trustpilotReviews.length > 0">
<!-- slot: tp-title -->
<atech-trust-pilot slot="tp-title" :data="trustpilotInfo" align="center" :rating="Boolean(false)" :size="Number(150)" color="dark" />
<!-- slot: tp-body -->
<atech-trust-pilot-reviews slot="tp-body" :reviews="trustpilotReviews"/>
<!-- slot: tp-footer-->
<atech-banner-text slot="tp-footer" urltext="Trustpilot" url="https://uk.trustpilot.com/review/safetynetcredit.com" class="pt-4">
Click here to see more reviews from
</atech-banner-text>
</atech-trust-pilot-section>
Props list
Props list | description |
---|---|
Slots list
Slot list | description |
---|---|
tp-title | Section title |
tp-body | Section body |
tp-footer | Section footer |