Pārlūkot izejas kodu

Adjust button styling

Eric Zhang 4 gadi atpakaļ
vecāks
revīzija
5d88fd522b
1 mainītis faili ar 8 papildinājumiem un 2 dzēšanām
  1. 8 2
      src/App.tsx

+ 8 - 2
src/App.tsx

@@ -17,7 +17,12 @@ import {
   Text,
   useToast,
 } from "@chakra-ui/react";
-import { VscChevronRight, VscFolderOpened, VscGist } from "react-icons/vsc";
+import {
+  VscChevronRight,
+  VscFolderOpened,
+  VscGist,
+  VscRepoPull,
+} from "react-icons/vsc";
 import useStorage from "use-local-storage-state";
 import Editor from "@monaco-editor/react";
 import { editor } from "monaco-editor/esm/vs/editor/editor.api";
@@ -251,7 +256,8 @@ function App() {
             size="sm"
             colorScheme="purple"
             variant="outline"
-            mt={2}
+            leftIcon={<VscRepoPull />}
+            mt={1}
             onClick={handleLoadSample}
           >
             Read the code