This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { ComponentProps } from 'react' | |
import { ScrollView } from 'react-native' | |
import { useDraggableScroll } from './use-draggable-scroll' | |
export const DraggableScrollView = React.forwardRef< | |
ScrollView, | |
ComponentProps<typeof ScrollView> | |
>(function DraggableScrollView(props, ref) { | |
const { refs } = useDraggableScroll<ScrollView>({ | |
outerRef: ref, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useMemo } from "react"; | |
import { View } from "react-native"; | |
import { degToRadians } from "src/components/OrbitLogo"; | |
import Svg, { Circle, Line, Polygon } from "react-native-svg"; | |
import times from "lodash.times"; | |
type RadarData = { | |
value: number; | |
label: string; | |
}; |