mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-12 18:38:31 -04:00
Fix typescript issues
This commit is contained in:
parent
7ef6d99773
commit
1a48bc7bd8
@ -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";
|
||||
|
||||
@ -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";
|
||||
|
||||
@ -135,7 +135,7 @@ const SearchBar = () => {
|
||||
style={[
|
||||
expanded ? { flex: 1 } : { backgroundColor: "transparent" },
|
||||
{
|
||||
transitionProperty: "background-color",
|
||||
transitionProperty: "backgroundColor",
|
||||
transitionDuration: "300ms",
|
||||
},
|
||||
]}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user