Files
tanami-admin-panel/src/Components/EmptySearchList.jsx

22 lines
689 B
React
Raw Normal View History

2024-06-20 12:09:48 +05:30
import { Box, Image, Text } from "@chakra-ui/react"
2024-06-26 15:03:31 +05:30
// import EmptySearchListImage from "../assets/empty_state_empty_folder.svg"
2024-07-09 19:05:08 +05:30
import EmptySearchListImage from "../assets/EmptySearchList.png"
2024-06-20 12:09:48 +05:30
const EmptySearchList = ({message}) => {
return (
<Box
display={'flex'}
justifyContent={'center'}
alignItems={'center'}
flexDirection={'column'}
w={"100%"} h={"40vh"}
2024-06-20 12:09:48 +05:30
>
2024-07-09 19:05:08 +05:30
<Image w={200} mb={8} src={EmptySearchListImage} alt='empty list' />
2024-06-20 12:09:48 +05:30
<Text className=" fw-bold fs-5" >{message}</Text>
2024-07-24 19:58:15 +05:30
{/* <Text as={'p'} className="web-text-medium">Posts of tanami will appear here.</Text> */}
2024-06-20 12:09:48 +05:30
</Box>
)
}
export default EmptySearchList