Fix typescript issues

This commit is contained in:
Zoe Roux 2026-03-13 17:41:56 +01:00
parent 7ef6d99773
commit 1a48bc7bd8
No known key found for this signature in database
3 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
import { type ComponentProps, type ComponentType, useState } from "react";
import { Animated, type PressableProps } from "react-native";
import type { PressableProps } from "react-native";
import Animated from "react-native-reanimated";
import RSvg, { type SvgProps } from "react-native-svg";
import { withUniwind } from "uniwind";
import { cn } from "~/utils";

View File

@ -4,7 +4,7 @@ import type {
} from "@legendapp/list/react-native";
import { LegendList } from "@legendapp/list/react-native";
import { type ComponentType, type ReactElement, useMemo, useRef } from "react";
import { Platform, type ViewStyle } from "react-native";
import type { ViewStyle } from "react-native";
import { createAnimatedComponent } from "react-native-reanimated";
import { type Breakpoint, HR, useBreakpointMap } from "~/primitives";
import { type QueryIdentifier, useInfiniteFetch } from "./query";

View File

@ -135,7 +135,7 @@ const SearchBar = () => {
style={[
expanded ? { flex: 1 } : { backgroundColor: "transparent" },
{
transitionProperty: "background-color",
transitionProperty: "backgroundColor",
transitionDuration: "300ms",
},
]}