mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-06 00:14:54 +00:00
* 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
13 lines
543 B
TypeScript
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} />;
|
|
},
|
|
);
|