Skip to content

Commit 29895ab

Browse files
committed
fix(ionicons): fix ionicons imports
1 parent a4cbe88 commit 29895ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react/rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import typescript from '@rollup/plugin-typescript';
22

3-
const external = ['react', 'react-dom', 'react-router', 'react-router-dom', 'history', 'tslib'];
3+
const external = ['react', 'react-dom', 'react-router', 'react-router-dom', 'history', 'tslib', 'react/jsx-runtime'];
44

55
export default {
66
input: 'src/index.ts',

packages/vue/src/components/IonIcon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { JSX } from "@ionic/core/components";
1+
import type { JSX } from "ionicons";
22
import { defineCustomElement } from "ionicons/components/ion-icon.js";
33
import type { PropType } from "vue";
44
import { h, defineComponent } from "vue";

0 commit comments

Comments
 (0)