Skip to content

Commit

Permalink
Merge branch 'main' into @bohdanprog/handle-web-events
Browse files Browse the repository at this point in the history
  • Loading branch information
jakex7 committed Nov 4, 2024
2 parents 0b507d3 + 29d4c7c commit a282da3
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 20 deletions.
2 changes: 1 addition & 1 deletion apps/common/test/Test1442.tsx
Original file line number Diff line number Diff line change
@@ -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 <TestWithStrictSize />;
Expand Down
2 changes: 1 addition & 1 deletion apps/common/test/Test1813.tsx
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
2 changes: 1 addition & 1 deletion apps/common/test/Test1845.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -9,6 +8,7 @@ import Animated, {
withRepeat,
withTiming,
} from 'react-native-reanimated';
import {Ellipse, Svg} from 'react-native-svg';

const AnimatedEllipse = Animated.createAnimatedComponent(Ellipse);

Expand Down
4 changes: 2 additions & 2 deletions apps/common/test/Test2086.tsx
Original file line number Diff line number Diff line change
@@ -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);
Expand All @@ -15,7 +15,7 @@ export default function Test2086() {
);
}

const MySVG = ({style, toggle}) => {
const MySVG = ({style, toggle}: any) => {
return (
<Svg viewBox="0 0 32 32" style={style}>
{toggle && (
Expand Down
10 changes: 5 additions & 5 deletions apps/common/test/Test2089.tsx
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
2 changes: 1 addition & 1 deletion apps/common/test/Test2196.tsx
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
2 changes: 1 addition & 1 deletion apps/common/test/Test2248.tsx
Original file line number Diff line number Diff line change
@@ -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);

Expand Down
2 changes: 1 addition & 1 deletion apps/common/test/Test2327.tsx
Original file line number Diff line number Diff line change
@@ -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<string | null>(null);
Expand Down
4 changes: 2 additions & 2 deletions apps/common/test/Test2397.tsx
Original file line number Diff line number Diff line change
@@ -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);

Expand Down
2 changes: 1 addition & 1 deletion apps/common/test/Test2455.tsx
Original file line number Diff line number Diff line change
@@ -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 => {
Expand Down
4 changes: 0 additions & 4 deletions src/lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit a282da3

Please sign in to comment.