
import { Center, Heading, Stack, Text } from '@chakra-ui/react';

const NoData = ({ message, text }: { message:string, text:string }) => {
    return (
        <Center h="80vh" textAlign="center">
            <Stack gap={6}>
                <Heading fontSize="xl">{message}</Heading>
                <Text fontSize="sm">{text}</Text>
            </Stack>
        </Center>
    )
};

export default NoData;