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 e86532c commit 6204e9cCopy full SHA for 6204e9c
packages/test-case-component/src/components/shikiComponent.tsx
@@ -1,4 +1,17 @@
1
-export function ShikiComponent({ data }: { data: any }) {
+import type { Command, CommandLatest } from "@cursorless/common";
2
+
3
+export function ShikiComponent({
4
+ data,
5
+}: {
6
+ data: {
7
+ before: string;
8
+ during: string;
9
+ after: string;
10
+ command: CommandLatest | Command;
11
+ };
12
+}) {
13
+ const { spokenForm } = data.command;
14
+ const { before, during, after } = data;
15
return (
16
<div className="max-w-xl overflow-auto p-4">
17
<div className="p-8">
0 commit comments