Skip to content

Commit

Permalink
Feat: Loader
Browse files Browse the repository at this point in the history
  • Loading branch information
shlee9999 committed Oct 2, 2024
1 parent 9860e51 commit c09b2ab
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
22 changes: 22 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@types/xml-js": "^1.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-loader-spinner": "^6.1.6",
"react-router-dom": "^6.26.2",
"styled-components": "^6.1.13",
"vite-tsconfig-paths": "^5.0.1",
Expand Down
6 changes: 6 additions & 0 deletions src/components/Loader/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import theme from '@/styles/theme';
import { FidgetSpinnerProps, ThreeDots } from 'react-loader-spinner';

export const Loader = ({ ...rest }: FidgetSpinnerProps) => {
return <ThreeDots color={theme.colors.primary} {...rest} />;
};

0 comments on commit c09b2ab

Please sign in to comment.