1.0.2 • Published 10 months ago

@fluid-app/react-widgets-types v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

@fluid-app/react-widgets-types

Type definitions for the @fluid-app/react-widgets package.

Overview

This package contains TypeScript interfaces and type definitions extracted from the @fluid-app/react-widgets package. It allows other packages to use these type definitions without having to install the entire React widgets package.

Usage

import type {
  BannerWidgetProps,
  CartWidgetProps,
  LeadCaptureWidgetProps,
} from "@fluid-app/react-widgets-types";

// Use the types in your code
const cartWidgetConfig: CartWidgetProps = {
  position: "bottom-right",
  size: 60,
  zIndex: 9999,
};

Types Included

  • CartWidgetProps: Properties for the shopping cart widget
  • BannerWidgetProps: Properties for the banner widget
  • LeadCaptureWidgetProps: Properties for the lead capture form widget
  • FluidConfig: Configuration options for the Fluid SDK
  • Re-exports of types from @fluid-app/fluid: ApiTypes, Schemas, EventType

License

MIT

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

11 months ago

0.0.19

11 months ago

0.0.18

11 months ago

0.0.17

11 months ago

0.0.16

11 months ago

0.0.15

11 months ago

0.0.14

11 months ago

0.0.13

11 months ago

0.0.12

11 months ago

0.0.11

11 months ago

0.0.10

11 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago