atechtrustpilotsection

0.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i atechtrustpilotsection

Weekly Downloads

1

Version

0.1.1

License

none

Unpacked Size

13.3 kB

Total Files

7

Last publish

Collaborators

  • kam1984