File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11import {
2+ Icon ,
23 IconBrandApple ,
34 IconBrandChrome ,
45 IconBrandEdge ,
56 IconBrandFirefox ,
67 IconBrandJavascript ,
78 IconBrandSafari ,
8- IconBrandWindows ,
9- TablerIconsProps ,
9+ IconBrandWindows
1010} from "@tabler/icons-react" ;
1111import React from "react" ;
1212import { IconBrandLinux } from "@/components/icons" ;
@@ -87,7 +87,7 @@ export interface DownloadLink {
8787 /**
8888 * Icon to represent this link
8989 */
90- icon : ( props : TablerIconsProps ) => React . JSX . Element ;
90+ icon : React . ExoticComponent < React . RefAttributes < Icon > > ;
9191
9292 /**
9393 * Whether or not to recommend this link to the given device
Original file line number Diff line number Diff line change 11"use client" ;
22
33import {
4+ Icon ,
45 IconBrandJavascript ,
5- IconList ,
6- TablerIconsProps ,
6+ IconList
77} from "@tabler/icons-react" ;
88import React from "react" ;
99import { useDeviceSelectors } from "react-device-detect" ;
@@ -13,7 +13,7 @@ import Link from "next/link";
1313import { allLinks , CurrentDevice , GithubRelease } from "@/app/downloads/config" ;
1414
1515interface RecommendedDownload {
16- icon : ( props : TablerIconsProps ) => React . JSX . Element ;
16+ icon : React . ExoticComponent < React . RefAttributes < Icon > > ;
1717 name : string ;
1818 url : string ;
1919 className ?: string ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { createReactComponent } from "@tabler/icons-react";
33// Source: https://www.svgrepo.com/svg/340565/linux
44// Apache license
55export const IconBrandLinux = createReactComponent (
6+ "outline" ,
67 "icon-brand-linux" ,
78 "IconBrandLinux" ,
89 [
You can’t perform that action at this time.
0 commit comments