We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be7e224 commit 90752d4Copy full SHA for 90752d4
packages/test-case-component/src/components/TestCaseComponentPage.tsx
@@ -4,7 +4,19 @@ import "../shiki.css";
4
import "../styles.css";
5
import type { TestCaseFixture } from "@cursorless/common";
6
7
-export function TestCaseComponentPage({ data }: { data: TestCaseFixture[] }) {
+export type TestCaseComponentProps = TestCaseFixture & {
8
+ filename: string;
9
+ raw: TestCaseFixture;
10
+ before: string;
11
+ during: string;
12
+ after: string;
13
+};
14
+
15
+export function TestCaseComponentPage({
16
+ data,
17
+}: {
18
+ data: TestCaseComponentProps[];
19
+}) {
20
return (
21
<main className="dark:text-stone-100">
22
<h1 className="mb-1 mt-2 text-center text-2xl md:text-3xl xl:mt-4">
0 commit comments