0.0.22 • Published 9 months ago
@fluid-app/web-widgets-types v0.0.22
@fluid-app/web-widgets-types
Type definitions for the @fluid-app/web-widgets package.
Overview
This package contains TypeScript interfaces and type definitions extracted from the @fluid-app/web-widgets package. It allows other packages to use these type definitions without having to install the entire Web Components widgets package.
Usage
import type {
FluidWindow,
WebComponentOptions,
WidgetInfo,
} from "@fluid-app/web-widgets-types";
// Use the types in your code
const widgetDefinition: WidgetInfo = {
dirName: "cart-widget",
componentName: "CartWidget",
tagName: "fluid-cart-widget",
propsJsonPath: "./generated/cart-widget-props.js",
};Types Included
WidgetInfo: Configuration for web component widgetsFluidWindow: Type definitions for window object extensionsWebComponentOptions: Options for web component creation- Re-exports of types from
@fluid-app/react-widgets-types:CartWidgetProps,BannerWidgetProps,LeadCaptureWidgetProps
License
MIT
0.0.22
9 months ago
0.0.21
9 months ago
0.0.20
9 months ago
0.0.19
10 months ago
0.0.18
10 months ago
0.0.17
10 months ago
0.0.16
10 months ago
0.0.15
10 months ago
0.0.14
10 months ago
0.0.13
10 months ago
0.0.12
10 months ago
0.0.11
10 months ago
0.0.10
10 months ago
0.0.9
10 months ago
0.0.8
10 months ago
0.0.7
11 months ago
0.0.6
11 months ago
0.0.5
11 months ago
0.0.4
11 months ago
0.0.3
11 months ago