Skip to content

Commit 62c9f3c

Browse files
authored
Merge pull request #17 from DogusErdem/fix/checkbox-implement-touchableopacityprop
fix: checkbox implement prop edit
2 parents 02a77f1 + 99eeb4b commit 62c9f3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/CheckBox/CheckBox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { useEffect, useState } from 'react';
2-
import { StyleSheet, TouchableOpacity, ViewProps } from 'react-native';
2+
import { StyleSheet, TouchableOpacity, TouchableOpacityProps } from 'react-native';
33
import Animated, { FadeIn, FadeOut, interpolateColor, useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
44
import type { CheckBoxProps, FCCWD } from '../../types';
55
import { applyDefaults } from '../../core/KitraProvider';
66
import Octicons from '../Icons/Octicons';
77

88
const AnimatedTouchableOpacity = Animated.createAnimatedComponent(TouchableOpacity);
99

10-
export const CheckBox: FCCWD<CheckBoxProps & ViewProps> = (
10+
export const CheckBox: FCCWD<CheckBoxProps & TouchableOpacityProps> = (
1111
{ theme,
1212
value,
1313
onChange,

0 commit comments

Comments
 (0)