(react) add active state on button

Previously we had no way of forcing a button to render in
an active state.
This commit is contained in:
Nathan Vasse
2023-02-16 14:40:48 +01:00
committed by NathanVss
parent 8bf13ae3ad
commit f3e3b568fc
3 changed files with 9 additions and 4 deletions

View File

@@ -1,4 +1,3 @@
import { describe, expect, it } from "vitest";
import { act, render, screen, waitFor } from "@testing-library/react";
import React from "react";
import { buildTheme, loadTokens } from "tests/Theme";