# @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

```typescript
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
