Installation
npm install --save @types/react-snapshot
Summary
This package contains type definitions for react-snapshot (https://github.com/geelen/react-snapshot).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-snapshot.
index.d.ts
import * as React from "react";
export function render(rootComponent: React.Component | React.JSX.Element, domElement: HTMLElement | null): void;
Additional Details
- Last updated: Wed, 06 Dec 2023 06:08:17 GMT
- Dependencies: @types/react
Credits
These definitions were written by Evan Gubarev.