react-native-tree-multi-select
Version:
Super-fast, customizable tree view component for React Native with drag-and-drop reordering, multi-selection, and search filtering.
14 lines (13 loc) • 483 B
text/typescript
import "@testing-library/react-native/extend-expect";
import { configure } from "@testing-library/react-native";
// Skip host component auto-detection which fails in RN 0.78+ jest environment.
// The type definition doesn't include hostComponentNames yet, but it works at runtime.
(configure as any)({
hostComponentNames: {
text: "Text",
textInput: "TextInput",
switch: "RCTSwitch",
scrollView: "RCTScrollView",
modal: "Modal",
},
});