Skip to content

Commit 433ebe7

Browse files
committed
chore: fix types
1 parent 0598f8d commit 433ebe7

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/keypad.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
import React, { type ComponentProps } from 'react';
2-
import type {
3-
ColorValue,
4-
RegisteredStyle,
5-
StyleProp,
6-
TextStyle,
7-
ViewStyle,
8-
} from 'react-native';
2+
import type { ColorValue, StyleProp, TextStyle, ViewStyle } from 'react-native';
93
import type { NumberProp } from 'react-native-svg';
104
import PinCodeKey from './PinCodeKey';
115
import PinCodeRow from './PinCodeRow';
@@ -46,7 +40,7 @@ export const Keypad = ({
4640
disable?: boolean;
4741
animated?: boolean;
4842
rowStyle?: StyleProp<ViewStyle>;
49-
buttonStyle?: RegisteredStyle<ViewStyle>;
43+
buttonStyle?: StyleProp<ViewStyle>;
5044
animationProps?: ComponentProps<typeof PinCodeKey>['animationProps'];
5145
}) => {
5246
// ---------------------------------------------------

0 commit comments

Comments
 (0)