Skip to content

Commit 67a5342

Browse files
fix: type error
1 parent a43a07d commit 67a5342

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boilerplate/app/components/ListItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { forwardRef, ReactElement, ComponentType } from "react"
1+
import { forwardRef, ReactElement } from "react"
22
import {
33
StyleProp,
44
TextStyle,
@@ -148,7 +148,7 @@ export const ListItem = forwardRef<View, ListItemProps>(function ListItem(
148148

149149
const $touchableStyles = [$styles.row, $touchableStyle, { minHeight: height }, style]
150150

151-
const Wrapper: ComponentType<TouchableOpacityProps> = isTouchable ? TouchableOpacity : View
151+
const Wrapper = isTouchable ? TouchableOpacity : View
152152

153153
return (
154154
<View ref={ref} style={themed($containerStyles)}>

0 commit comments

Comments
 (0)