[INIT] Initial Project Structure
This commit is contained in:
commit
0fc5f05b6a
105 changed files with 10448 additions and 0 deletions
12
src/components/common/Loading.tsx
Normal file
12
src/components/common/Loading.tsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { Flex, FlexProps, Spinner, SpinnerProps } from "@chakra-ui/react";
|
||||
export function LoadingSpinner(props: SpinnerProps) {
|
||||
return <Spinner height="300px" width="300px" {...props} />;
|
||||
}
|
||||
|
||||
export function CenteredLoadingSpinner(props: { SpinnerProps?: SpinnerProps; FlexProps?: FlexProps }) {
|
||||
return (
|
||||
<Flex flexDir="column" alignItems="center" justifyContent="center" p="20px" h="100vh" {...props.FlexProps}>
|
||||
<Spinner height="250px" width="250px" mb="-40px" {...props.SpinnerProps} />
|
||||
</Flex>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue