feat: filters with bottom sheet

This commit is contained in:
Fredrik Burmester
2024-08-17 23:34:51 +02:00
parent 30781a6dfe
commit d56bb79ac2
13 changed files with 513 additions and 274 deletions

View File

@@ -1,17 +1,9 @@
import { useFocusEffect } from "expo-router";
import React, { useEffect } from "react";
import { TextInputProps, TextProps } from "react-native";
import { TextInput } from "react-native";
import React from "react";
import { TextInput, TextInputProps } from "react-native";
export function Input(props: TextInputProps) {
const { style, ...otherProps } = props;
const inputRef = React.useRef<TextInput>(null);
useFocusEffect(
React.useCallback(() => {
inputRef.current?.focus();
}, []),
);
return (
<TextInput
ref={inputRef}