[INIT] Initial Project Structure
This commit is contained in:
commit
0fc5f05b6a
105 changed files with 10448 additions and 0 deletions
13
src/components/common/Fallback.tsx
Normal file
13
src/components/common/Fallback.tsx
Normal file
|
@ -0,0 +1,13 @@
|
|||
import { Flex, FlexProps, TextProps, Text } from "@chakra-ui/react";
|
||||
import React from "react";
|
||||
|
||||
export function CenteredErrorFallback(props: { TextProps?: TextProps; FlexProps?: FlexProps }) {
|
||||
return (
|
||||
<Flex flexDir="column" alignItems="center" justifyContent="center" p="20px" h="100vh" {...props.FlexProps}>
|
||||
<Text {...props.TextProps}>
|
||||
Oops! Looks like something broke!
|
||||
<br /> Please try again later!
|
||||
</Text>
|
||||
</Flex>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue