Skip to content

Commit 66ef6ae

Browse files
committed
Use IconDefinition imports instead of string names in states.ts
1 parent 2a76382 commit 66ef6ae

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

client/src/components/History/Content/model/stateTypes.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
import type { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2+
13
import type { STATES } from "./states";
24

35
export type State = {
46
status: string;
57
text?: string;
6-
icon?: string;
8+
icon?: IconDefinition;
79
spin?: boolean;
810
nonDb?: boolean;
911
};

0 commit comments

Comments
 (0)