UNPKG

@ehsaneha/react-slot

Version:

A React <Slot> component that merges props and forwards refs to a single child element, similar to Radix UI’s Slot.

11 lines (9 loc) 243 B
import { createDefaultPreset } from "ts-jest"; const tsJestTransformCfg = createDefaultPreset().transform; /** @type {import("jest").Config} **/ module.exports = { testEnvironment: "jsdom", transform: { ...tsJestTransformCfg, }, };