diff --git a/button.test.tsx b/button.test.tsx index 525319e..e5d5867 100644 --- a/button.test.tsx +++ b/button.test.tsx @@ -42,10 +42,10 @@ describe("Button", () => { expect(loaderElement).toBeInTheDocument(); }); - it("reanders Loader2Icon, but hidden when isLoading is false", () => { + it("renders Loader2Icon, but hidden when isLoading is false", () => { render( - + + ); } export function Loading() { - return ; + const [isLoading, setIsLoading] = useState(false); + const [isLoading2, setIsLoading2] = useState(false); + const [isLoading3, setIsLoading3] = useState(false); + + return ( +
+ + +
+ ); } export function Disabled() {