diff --git a/apps/common/test/Test1442.tsx b/apps/common/test/Test1442.tsx index 47d4ab067..4538f79eb 100644 --- a/apps/common/test/Test1442.tsx +++ b/apps/common/test/Test1442.tsx @@ -1,6 +1,6 @@ import React, {useState} from 'react'; import {ImageLoadEventData, Platform, Image as RNImage} from 'react-native'; -import {Svg, Image} from 'react-native-svg'; +import {Image, Svg} from 'react-native-svg'; export default function Test1442() { return ; diff --git a/apps/common/test/Test1813.tsx b/apps/common/test/Test1813.tsx index dd78b44f7..e9fac0fda 100644 --- a/apps/common/test/Test1813.tsx +++ b/apps/common/test/Test1813.tsx @@ -1,12 +1,12 @@ import React from 'react'; import {SvgFromUri, SvgFromXml, SvgUri, SvgXml} from 'react-native-svg'; import { + LocalSvg, SvgCss, SvgCssUri, SvgWithCss, SvgWithCssUri, WithLocalSvg, - LocalSvg, } from 'react-native-svg/css'; const asset = require('./assets/ruby.svg'); diff --git a/apps/common/test/Test1845.tsx b/apps/common/test/Test1845.tsx index e71a95ce3..8b1162c9a 100644 --- a/apps/common/test/Test1845.tsx +++ b/apps/common/test/Test1845.tsx @@ -1,6 +1,5 @@ import React from 'react'; import {SafeAreaView, useColorScheme} from 'react-native'; -import {Svg, Ellipse} from 'react-native-svg'; import Animated, { createAnimatedPropAdapter, processColor, @@ -9,6 +8,7 @@ import Animated, { withRepeat, withTiming, } from 'react-native-reanimated'; +import {Ellipse, Svg} from 'react-native-svg'; const AnimatedEllipse = Animated.createAnimatedComponent(Ellipse); diff --git a/apps/common/test/Test2086.tsx b/apps/common/test/Test2086.tsx index ef478d64c..4c1146f40 100644 --- a/apps/common/test/Test2086.tsx +++ b/apps/common/test/Test2086.tsx @@ -1,6 +1,6 @@ import React, {useState} from 'react'; +import {Button, StyleSheet, Text, View} from 'react-native'; import Svg, {Path} from 'react-native-svg'; -import {StyleSheet, Text, View, Button} from 'react-native'; export default function Test2086() { const [display, setDisplay] = useState(false); @@ -15,7 +15,7 @@ export default function Test2086() { ); } -const MySVG = ({style, toggle}) => { +const MySVG = ({style, toggle}: any) => { return ( {toggle && ( diff --git a/apps/common/test/Test2089.tsx b/apps/common/test/Test2089.tsx index 7a5170ce4..952f8f85a 100644 --- a/apps/common/test/Test2089.tsx +++ b/apps/common/test/Test2089.tsx @@ -1,14 +1,14 @@ import React, {useEffect} from 'react'; import Animated, { - useSharedValue, - withTiming, Easing, - withRepeat, interpolate, - useDerivedValue, useAnimatedProps, + useDerivedValue, + useSharedValue, + withRepeat, + withTiming, } from 'react-native-reanimated'; -import {Svg, Circle} from 'react-native-svg'; +import {Circle, Svg} from 'react-native-svg'; export default () => { const AnimatedCircle = Animated.createAnimatedComponent(Circle); diff --git a/apps/common/test/Test2196.tsx b/apps/common/test/Test2196.tsx index d9ddecd29..19cc5430f 100644 --- a/apps/common/test/Test2196.tsx +++ b/apps/common/test/Test2196.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import {View, Button, Text} from 'react-native'; +import {Button, Text, View} from 'react-native'; import Svg, {Circle} from 'react-native-svg'; import {SvgCssUri} from 'react-native-svg/css'; diff --git a/apps/common/test/Test2248.tsx b/apps/common/test/Test2248.tsx index 51810e76f..fa6bd61d8 100644 --- a/apps/common/test/Test2248.tsx +++ b/apps/common/test/Test2248.tsx @@ -1,6 +1,6 @@ import React, {useEffect, useRef} from 'react'; -import {Path, Svg} from 'react-native-svg'; import {Animated} from 'react-native'; +import {Path, Svg} from 'react-native-svg'; const AnimatedPath = Animated.createAnimatedComponent(Path as any); diff --git a/apps/common/test/Test2327.tsx b/apps/common/test/Test2327.tsx index e4d07452f..428cd5715 100644 --- a/apps/common/test/Test2327.tsx +++ b/apps/common/test/Test2327.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import {SvgUri, Circle, Svg} from 'react-native-svg'; import {Button, View} from 'react-native'; +import {Circle, Svg, SvgUri} from 'react-native-svg'; export default () => { const [uri, setUri] = React.useState(null); diff --git a/apps/common/test/Test2397.tsx b/apps/common/test/Test2397.tsx index bd2cf9e5d..31540cc1b 100644 --- a/apps/common/test/Test2397.tsx +++ b/apps/common/test/Test2397.tsx @@ -1,14 +1,14 @@ import React from 'react'; -import {Svg, Circle} from 'react-native-svg'; import Animated, { createAnimatedPropAdapter, + interpolateColor, processColor, useAnimatedProps, useSharedValue, withRepeat, withTiming, - interpolateColor, } from 'react-native-reanimated'; +import {Circle, Svg} from 'react-native-svg'; const AnimatedCircle = Animated.createAnimatedComponent(Circle); diff --git a/apps/common/test/Test2455.tsx b/apps/common/test/Test2455.tsx index 0409f11a6..d479bbfb4 100644 --- a/apps/common/test/Test2455.tsx +++ b/apps/common/test/Test2455.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import {Button, Share, Text, TouchableOpacity, View} from 'react-native'; +import {Button, Share, View} from 'react-native'; import {Circle, G, Path, Rect, Svg} from 'react-native-svg'; const Favorite = ({color}: {color: string}): JSX.Element => { diff --git a/src/lib/util.ts b/src/lib/util.ts index 9464db48e..4284cc3c0 100644 --- a/src/lib/util.ts +++ b/src/lib/util.ts @@ -24,14 +24,10 @@ export const warnUnimplementedFilter = () => { `Some of the used filters are not yet supported on native platforms. Please check the USAGE.md for more info. Not implemented filters:\n`, JSON.stringify( [ - 'FeBlend', 'FeComponentTransfer', - 'FeComposite', 'FeConvolveMatrix', 'FeDiffuseLighting', 'FeDisplacementMap', - 'FeDropShadow', - 'FeFlood', 'FeFuncA', 'FeFuncB', 'FeFuncG',