@testimonial-hub/testimonials-widget
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Testimonial-Hub.com

Testimonials List component for use with the Testimonial-Hub premium tier API subscription.
This webcomponent follows the open-wc recommendation.

Installation

npm i @testimonial-hub/testimonials-widget

Module Usage

<script type="module">
  import '@testimonial-hub/testimonials-widget';
</script>

<testimonials-list></testimonials-list>

To easily consume this component in React, refer to the Lit React documentation

For example, in Next.js:

'use client'

import { createComponent } from '@lit/react';
import { TestimonialsList } from '@testimonial-hub/testimonials-widget'
import React from 'react';

export const TestimonialsListComponent = createComponent({
  tagName: 'testimonials-list',
  elementClass: TestimonialsList,
  react: React
});

Then use the <TestimonialsListComponent>, passing your server props.

Documentation

To read more about how to use this widget, or to read how to use from the CDN visit:
https://docs.testimonial-hub.com/javascript-widget.html

Readme

Keywords

none

Package Sidebar

Install

npm i @testimonial-hub/testimonials-widget

Weekly Downloads

0

Version

1.1.1

License

SEE LICENSE IN LICENSE

Unpacked Size

58.3 kB

Total Files

15

Last publish

Collaborators

  • craigwardman