Skip to content

Commit 6a2dcf4

Browse files
committed
fix: any types
Signed-off-by: aabidsofi19 <[email protected]>
1 parent 89eed9c commit 6a2dcf4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/utils/components.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
export const componentIcon = ({ kind, model, color }) => {
1+
export const componentIcon = ({
2+
kind,
3+
model,
4+
color
5+
}: {
6+
kind: string;
7+
model: string;
8+
color: 'white' | 'color' | 'complete';
9+
}) => {
210
if (!kind || !model || !color) {
311
return null;
412
}

0 commit comments

Comments
 (0)