diff --git a/src/libs/svg.js b/src/libs/svg.js new file mode 100644 index 0000000..13c44d3 --- /dev/null +++ b/src/libs/svg.js @@ -0,0 +1,34 @@ +export const loadingSvg = ` + + + + + + + + + + + +`; diff --git a/src/views/Content/LoadingIcon.js b/src/views/Content/LoadingIcon.js index eef84f7..614a824 100644 --- a/src/views/Content/LoadingIcon.js +++ b/src/views/Content/LoadingIcon.js @@ -1,44 +1,14 @@ -import { DEFAULT_COLOR } from "../../config"; +import { loadingSvg } from "../../libs/svg"; export default function LoadingIcon() { return ( - - - - - - - - - - - + dangerouslySetInnerHTML={{ __html: loadingSvg }} + /> ); }