fix untyped imports
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import {View} from 'react-native'
|
import {View} from 'react-native'
|
||||||
import * as Progress from 'react-native-progress'
|
import {Circle as ProgressCircle} from 'react-native-progress'
|
||||||
|
|
||||||
import {atoms as a, useTheme} from '#/alf'
|
import {atoms as a, useTheme} from '#/alf'
|
||||||
import {AnimatedCheck} from '../anim/AnimatedCheck'
|
import {AnimatedCheck} from '../anim/AnimatedCheck'
|
||||||
@@ -25,7 +25,7 @@ export function ProgressGuideTask({
|
|||||||
{current === total ? (
|
{current === total ? (
|
||||||
<AnimatedCheck playOnMount fill={t.palette.primary_500} width={20} />
|
<AnimatedCheck playOnMount fill={t.palette.primary_500} width={20} />
|
||||||
) : (
|
) : (
|
||||||
<Progress.Circle
|
<ProgressCircle
|
||||||
progress={current / total}
|
progress={current / total}
|
||||||
color={t.palette.primary_400}
|
color={t.palette.primary_400}
|
||||||
size={20}
|
size={20}
|
||||||
|
|||||||
@@ -21,8 +21,7 @@ import {
|
|||||||
type ViewStyle,
|
type ViewStyle,
|
||||||
} from 'react-native'
|
} from 'react-native'
|
||||||
import {KeyboardAvoidingView} from 'react-native-keyboard-controller'
|
import {KeyboardAvoidingView} from 'react-native-keyboard-controller'
|
||||||
// @ts-expect-error no type definition
|
import {Circle as ProgressCircle} from 'react-native-progress'
|
||||||
import ProgressCircle from 'react-native-progress/Circle'
|
|
||||||
import Animated, {
|
import Animated, {
|
||||||
type AnimatedRef,
|
type AnimatedRef,
|
||||||
type AnimatedStyle,
|
type AnimatedStyle,
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import {View} from 'react-native'
|
import {View} from 'react-native'
|
||||||
// @ts-expect-error no type definition
|
import {Pie as ProgressPie} from 'react-native-progress'
|
||||||
import ProgressPie from 'react-native-progress/Pie'
|
|
||||||
import {type ImagePickerAsset} from 'expo-image-picker'
|
import {type ImagePickerAsset} from 'expo-image-picker'
|
||||||
|
|
||||||
import {atoms as a, useTheme} from '#/alf'
|
import {atoms as a, useTheme} from '#/alf'
|
||||||
|
|||||||
Reference in New Issue
Block a user