import React from 'react' import {StyleSheet, StyleProp, View, ViewStyle} from 'react-native' import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' import {HeartIcon} from '../../lib/icons' import {s} from '../../lib/styles' import {useTheme} from '../../lib/ThemeContext' import {usePalette} from '../../lib/hooks/usePalette' export function LoadingPlaceholder({ width, height, style, }: { width: string | number height: string | number style?: StyleProp }) { const theme = useTheme() return ( ) } export function PostLoadingPlaceholder({ style, }: { style?: StyleProp }) { const theme = useTheme() const pal = usePalette('default') return ( ) } export function PostFeedLoadingPlaceholder() { return ( <> ) } export function NotificationLoadingPlaceholder({ style, }: { style?: StyleProp }) { const pal = usePalette('default') return ( ) } export function NotificationFeedLoadingPlaceholder() { return ( <> ) } const styles = StyleSheet.create({ post: { flexDirection: 'row', padding: 10, margin: 1, }, avatar: { borderRadius: 25, marginRight: 10, }, notification: { padding: 10, paddingLeft: 46, margin: 1, }, smallAvatar: { borderRadius: 15, marginRight: 10, }, })