replace fontawesome in LoadMoreRetryBtn
This commit is contained in:
@@ -1,10 +1,7 @@
|
|||||||
import {StyleSheet} from 'react-native'
|
import {StyleSheet} from 'react-native'
|
||||||
import {
|
|
||||||
FontAwesomeIcon,
|
|
||||||
type FontAwesomeIconStyle,
|
|
||||||
} from '@fortawesome/react-native-fontawesome'
|
|
||||||
|
|
||||||
import {usePalette} from '#/lib/hooks/usePalette'
|
import {usePalette} from '#/lib/hooks/usePalette'
|
||||||
|
import {ArrowRotateCounterClockwise_Stroke2_Corner0_Rounded as ArrowRotateIcon} from '#/components/icons/ArrowRotate'
|
||||||
import {Button} from './forms/Button'
|
import {Button} from './forms/Button'
|
||||||
import {Text} from './text/Text'
|
import {Text} from './text/Text'
|
||||||
|
|
||||||
@@ -18,11 +15,7 @@ export function LoadMoreRetryBtn({
|
|||||||
const pal = usePalette('default')
|
const pal = usePalette('default')
|
||||||
return (
|
return (
|
||||||
<Button type="default-light" onPress={onPress} style={styles.loadMoreRetry}>
|
<Button type="default-light" onPress={onPress} style={styles.loadMoreRetry}>
|
||||||
<FontAwesomeIcon
|
<ArrowRotateIcon width={18} style={pal.textLight} />
|
||||||
icon="arrow-rotate-left"
|
|
||||||
style={pal.textLight as FontAwesomeIconStyle}
|
|
||||||
size={18}
|
|
||||||
/>
|
|
||||||
<Text style={[pal.textLight, styles.label]}>{label}</Text>
|
<Text style={[pal.textLight, styles.label]}>{label}</Text>
|
||||||
</Button>
|
</Button>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user