Enable React Native strict TypeScript API (#11459)
This commit is contained in:
@@ -47,7 +47,7 @@ export function InterestTabs({
|
||||
}) {
|
||||
const t = useTheme()
|
||||
const {_} = useLingui()
|
||||
const listRef = useRef<ScrollView>(null)
|
||||
const listRef = useRef<React.ComponentRef<typeof ScrollView>>(null)
|
||||
const [totalWidth, setTotalWidth] = useState(0)
|
||||
const [scrollX, setScrollX] = useState(0)
|
||||
const [contentWidth, setContentWidth] = useState(0)
|
||||
|
||||
Reference in New Issue
Block a user