import {
KeyboardAwareScrollView,
KeyboardAwareScrollViewProps,
} from "react-native-keyboard-controller";
import { Platform, ScrollView, ScrollViewProps } from "react-native";
type Props = KeyboardAwareScrollViewProps & ScrollViewProps;
export function KeyboardAwareScrollViewCompat({
children,
keyboardShouldPersistTaps = "handled",
...props
}: Props) {
if (Platform.OS === "web") {
return (
{children}
);
}
return (
{children}
);
}