UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

7 lines (6 loc) 282 B
/// <reference types="react/canary" /> import { addTransitionType } from "react"; /** Type-safe passthrough for the React `addTransitionType()` that checks `type` is one of our known view transition types. */ export function setTransitionType(type) { addTransitionType(type); }