From 933202d617ec39cf27165d2d86c3cf0a6ca5c109 Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Mon, 27 Sep 2021 17:28:42 +0300 Subject: [PATCH] Minor changes to React and Svelte components --- packages/react/src/iconify.ts | 3 ++- packages/svelte/src/functions.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/react/src/iconify.ts b/packages/react/src/iconify.ts index 7c0bf0f..b1a59ba 100644 --- a/packages/react/src/iconify.ts +++ b/packages/react/src/iconify.ts @@ -2,7 +2,8 @@ import React from 'react'; import type { IconifyJSON, IconifyIcon } from '@iconify/types'; // Core -import { IconifyIconName, stringToIcon } from '@iconify/utils/lib/icon/name'; +import type { IconifyIconName } from '@iconify/utils/lib/icon/name'; +import { stringToIcon } from '@iconify/utils/lib/icon/name'; import type { IconifyIconSize, IconifyHorizontalIconAlignment, diff --git a/packages/svelte/src/functions.ts b/packages/svelte/src/functions.ts index 5c9e60b..2849fc4 100644 --- a/packages/svelte/src/functions.ts +++ b/packages/svelte/src/functions.ts @@ -1,7 +1,8 @@ import type { IconifyJSON, IconifyIcon } from '@iconify/types'; // Core -import { IconifyIconName, stringToIcon } from '@iconify/utils/lib/icon/name'; +import type { IconifyIconName } from '@iconify/utils/lib/icon/name'; +import { stringToIcon } from '@iconify/utils/lib/icon/name'; import type { IconifyIconSize, IconifyHorizontalIconAlignment,