Skip to content

Commit

Permalink
fix(馃拕): Add support for animated style in <ReText />
Browse files Browse the repository at this point in the history
  • Loading branch information
yasintz committed Dec 31, 2020
1 parent 2297f4b commit 7bf788c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/v1/ReText.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import * as React from "react";
import { TextInput, TextStyle } from "react-native";
import { TextInput, TextStyle, StyleProp } from "react-native";
import Animated from "react-native-reanimated";

const AnimatedTextInput = Animated.createAnimatedComponent(TextInput);

interface TextProps {
text: Animated.Node<string>;
style?: TextStyle;
style?: StyleProp<Animated.AnimateStyle<TextStyle>>;
}

const ReText = (props: TextProps) => {
Expand Down

0 comments on commit 7bf788c

Please sign in to comment.