Files
paseo/packages/app/src/plugins/react-native/text-input.tsx
T
Mohamed Boudra 38c22139bb Let plugins control modal layout, scrolling and clipboard actions (#4392)
* feat(plugins): support modal body layout, scrolling and clipboard actions

* fix(app): keep native scroll dependencies out of web imports

* fix(nix): sync dependency hash for plugin native types

* test(plugins): express modal QA as user journeys
2026-09-06 13:48:29 +02:00

13 lines
543 B
TypeScript

import { forwardRef, type ElementRef } from "react";
import type { TextInputProps } from "react-native";
import type { SheetAwareTextInput } from "@/components/ui/text-input/sheet-aware";
export const TextInput = forwardRef<ElementRef<typeof SheetAwareTextInput>, TextInputProps>(
function TextInput(props, ref) {
const { SheetAwareTextInput } =
require("../../components/ui/text-input/sheet-aware") as typeof import("../../components/ui/text-input/sheet-aware");
return <SheetAwareTextInput {...props} ref={ref} />;
},
);