Skip to content

Commit b6d7ebd

Browse files
committed
Update SVG icons and improve type imports in CodeIcon component
1 parent fff44fd commit b6d7ebd

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
`iconName` is from the hugeicons website.
77

88
- No need to fix formatting related issues.
9+
10+
- You can use `bun ts` for type checking.

src/assets/icons/extra/edge.svg

Lines changed: 1 addition & 1 deletion
Loading

src/assets/icons/extra/firefox.svg

Lines changed: 1 addition & 1 deletion
Loading

src/assets/icons/extra/linux.svg

Lines changed: 1 addition & 1 deletion
Loading

src/assets/icons/extra/safari.svg

Lines changed: 1 addition & 1 deletion
Loading

src/assets/icons/hugeicons/CodeIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
import React from 'react'
33
import Svg, { Circle, ClipPath, Defs, Ellipse, G, Line, LinearGradient, Mask, Path, Polygon, Polyline, RadialGradient, Rect, Stop } from 'react-native-svg'
4-
import { Variant, HugeIconProps, defaultStrokeWidth, defaultVariant, defaultColor, defaultSize } from './constants'
4+
import {type Variant, type HugeIconProps, defaultStrokeWidth, defaultVariant, defaultColor, defaultSize } from './constants'
55

66
const iconMap: Partial<Record<Variant, React.FC<HugeIconProps>>> = {
77
'solid-rounded': SolidRounded,

0 commit comments

Comments
 (0)