## API Report File for "@microsoft/fast-react-wrapper"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import { Constructable } from '@microsoft/fast-element';
import { FASTElementDefinition } from '@microsoft/fast-element';
import type ReactModule from 'react';

// @public
export type ReactEventMap<T> = {
    [P in keyof T]: string;
};

// @public
export type ReactEvents<T> = {
    [P in keyof T]?: (e: Event) => unknown;
};

// @public
export interface ReactWrapper<TElement extends HTMLElement, TEvents> extends Constructable<ReactModule.Component<ReactWrapperProps<TElement, TEvents>>> {
    // (undocumented)
    displayName: string;
}

// @public (undocumented)
export function reactWrapper(React: any, registry?: CustomElementRegistry): {
    <TElement extends HTMLElement, TEvents>(def: FASTElementDefinition<Constructable<TElement>>, config?: ReactWrapperConfig<TEvents> | undefined): ReactWrapper<TElement, TEvents>;
    <TElement_1 extends HTMLElement, TEvents_1>(type: Constructable<TElement_1>, config?: ReactWrapperConfig<TEvents_1> | undefined): ReactWrapper<TElement_1, TEvents_1>;
};

// @public
export type ReactWrapperConfig<TEvents> = {
    name?: string;
    events?: ReactEventMap<TEvents>;
    properties?: string[];
};

// @public
export type ReactWrapperProps<TElement extends HTMLElement, TEvents> = ReactModule.PropsWithChildren<ReactModule.PropsWithRef<Partial<Omit<TElement, "children" | "style">> & ReactEvents<TEvents> & ReactModule.HTMLAttributes<HTMLElement>> & {
    style?: ReactModule.CSSProperties;
}>;

// (No @packageDocumentation comment for this package)

```
