mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-09-21 15:40:40 +02:00
refactor(starter): upgrade and move to typescript
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import React from "react";
|
||||
|
||||
import styles from "./Icon.module.scss";
|
||||
import { ICONS } from "@/constants";
|
||||
|
||||
import * as styles from "./Icon.module.scss";
|
||||
|
||||
interface Props {
|
||||
name: string;
|
||||
name: keyof typeof ICONS;
|
||||
icon: {
|
||||
path?: string;
|
||||
viewBox?: string;
|
||||
path?: string;
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user