Skip to content

Commit f873141

Browse files
committed
fix: correct theme type
1 parent a635656 commit f873141

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/RadioButton/RadioButtonAndroid.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Animated, StyleSheet, View } from 'react-native';
44
import { RadioButtonContext, RadioButtonContextType } from './RadioButtonGroup';
55
import { handlePress, isChecked } from './utils';
66
import { useInternalTheme } from '../../core/theming';
7-
import type { $RemoveChildren, InternalTheme } from '../../types';
7+
import type { $RemoveChildren, ThemeProp } from '../../types';
88
import { getAndroidSelectionControlColor } from '../Checkbox/utils';
99
import TouchableRipple from '../TouchableRipple/TouchableRipple';
1010

@@ -36,7 +36,7 @@ export type Props = $RemoveChildren<typeof TouchableRipple> & {
3636
/**
3737
* @optional
3838
*/
39-
theme?: InternalTheme;
39+
theme?: ThemeProp;
4040
/**
4141
* testID to be used on tests.
4242
*/

0 commit comments

Comments
 (0)