Skip to content

Commit

Permalink
Merge pull request #14 from mr-fougere/main
Browse files Browse the repository at this point in the history
🔖 0.2.2 - Correct type exports
  • Loading branch information
mr-fougere authored Feb 2, 2025
2 parents 1c9ef18 + 9d39fbf commit 62e0447
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion lib/components/TrustBoxWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ import { EssentialTrustBoxWidgets } from "./EssentialTrustBoxWidget";
import { ProductReviewTrustBoxWidgets } from "./ProductReviewTrustBoxWidget";
import { TestimonialTrustBoxWidget } from "./TestimonialTrustBoxWidget";

export const TrustBoxWidget = {
type TrustBoxWidgetT = typeof EssentialTrustBoxWidgets &
typeof CollectReviewTrustBoxWidgets &
typeof TestimonialTrustBoxWidget &
typeof ProductReviewTrustBoxWidgets;

export const TrustBoxWidget: TrustBoxWidgetT = {
...EssentialTrustBoxWidgets,
...CollectReviewTrustBoxWidgets,
...TestimonialTrustBoxWidget,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mr-fougere/react-trustpilot",
"private": false,
"version": "0.2.1",
"version": "0.2.2",
"author": "mr-fougere",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit 62e0447

Please sign in to comment.