Skip to content

Commit 0cc004d

Browse files
authored
Merge pull request #3 from chrismerkand/fix/jsx-runtime-warning
fix(components): enable automatic JSX runtime in framework icons
2 parents aa54cce + 15353db commit 0cc004d

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

packages/astro-iconset/components/preact/Icon.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/** @jsxRuntime automatic */
12
/** @jsxImportSource preact */
23
import type { JSX } from "preact";
34
import type { AstroIconImport } from "../../typings/astro-icon-import";

packages/astro-iconset/components/react/Icon.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/** @jsxRuntime automatic */
12
/** @jsxImportSource react */
23
import type { SVGProps } from "react";
34
import type { AstroIconImport } from "../../typings/astro-icon-import";

packages/astro-iconset/components/solid/Icon.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/** @jsxRuntime automatic */
12
/** @jsxImportSource solid-js */
23
import type { JSX, Component } from "solid-js";
34
import { splitProps } from "solid-js";

0 commit comments

Comments
 (0)