Auto fill amount category edit Empty list component calendar filtering in category screen, expenses can be added directly
24 lines
No EOL
614 B
TypeScript
24 lines
No EOL
614 B
TypeScript
import { View, Text, StyleSheet } from 'react-native'
|
|
import React from 'react'
|
|
import { useTheme } from '../../app/contexts/ThemeContext'
|
|
|
|
const EmptyListCompenent:React.FC = () => {
|
|
const {colors} = useTheme();
|
|
return (
|
|
<View style={[styles.container, {backgroundColor: colors.backgroundColor}]}>
|
|
<Text style={[{fontSize: 20}, {color: colors.primaryText}]}>No matching Data</Text>
|
|
</View>
|
|
)
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
justifyContent: "center",
|
|
alignItems: "center",
|
|
height: 70,
|
|
borderRadius: 20,
|
|
}
|
|
})
|
|
|
|
export default EmptyListCompenent |