Skip to content

Commit 5e4a50b

Browse files
committed
chore: fix button Style type
1 parent 3570f76 commit 5e4a50b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PinCodeKey.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
type ColorValue,
55
Easing,
66
Pressable,
7-
type RegisteredStyle,
7+
type StyleProp,
88
Text,
99
type TextStyle,
1010
TouchableOpacity,
@@ -56,7 +56,7 @@ function PinCodeKey({
5656
pressInDuration?: number;
5757
pressOutDuration?: number;
5858
};
59-
style?: RegisteredStyle<ViewStyle>;
59+
style?: StyleProp<ViewStyle>;
6060
}) {
6161
// animations
6262
const anim = React.useRef(new Animated.Value(0)).current;

0 commit comments

Comments
 (0)