export enum Icons { SEARCH = "search", BOOKMARK = "bookmark", CLOCK = "clock", EYE_SLASH = "eyeSlash", ARROW_LEFT = "arrowLeft", } export interface IconProps { icon: Icons; } const iconList = { search: ``, bookmark: ``, clock: ``, eyeSlash: ``, arrowLeft: ``, } export function Icon(props: IconProps) { return ; }