Fix types
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import {memo, useCallback, useMemo, useState} from 'react'
|
import {memo, useCallback, useMemo, useState} from 'react'
|
||||||
import {
|
import {
|
||||||
Image as RNImage,
|
Image as RNImage,
|
||||||
|
type ImageStyle,
|
||||||
Pressable,
|
Pressable,
|
||||||
type StyleProp,
|
type StyleProp,
|
||||||
StyleSheet,
|
StyleSheet,
|
||||||
@@ -76,7 +77,7 @@ interface UserAvatarProps extends BaseUserAvatarProps {
|
|||||||
noBorder?: boolean
|
noBorder?: boolean
|
||||||
onLoad?: () => void
|
onLoad?: () => void
|
||||||
style?: StyleProp<ViewStyle>
|
style?: StyleProp<ViewStyle>
|
||||||
extraAviStyle?: ViewStyle
|
extraAviStyle?: ImageStyle
|
||||||
}
|
}
|
||||||
|
|
||||||
interface EditableUserAvatarProps extends BaseUserAvatarProps {
|
interface EditableUserAvatarProps extends BaseUserAvatarProps {
|
||||||
|
|||||||
Reference in New Issue
Block a user