Skip to content

Commit

Permalink
just spread props
Browse files Browse the repository at this point in the history
Co-authored-by: Jiachi Liu <inbox@huozhi.im>
  • Loading branch information
devjiwonchoi and huozhi committed Jan 10, 2025
1 parent cf6f4f9 commit d6185d8
Showing 1 changed file with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
export function ExternalIcon({
height,
width,
className,
}: {
height: number
width: number
className?: string
}) {
export function ExternalIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={width}
height={height}
className={className}
>
<svg xmlns="http://www.w3.org/2000/svg" {...props}>
<path
fillRule="evenodd"
clipRule="evenodd"
Expand Down

0 comments on commit d6185d8

Please sign in to comment.