From ffe161d2fb5baa56ff959a74f3ab1076c1ce1ec8 Mon Sep 17 00:00:00 2001 From: Arne Becker Date: Tue, 18 Jun 2024 15:11:44 +0200 Subject: [PATCH] restrict deferring icons to the component (#239) small hint, that his feature doesn't work with the blade directive or the helper function --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 331a542..f0a57ab 100644 --- a/README.md +++ b/README.md @@ -428,6 +428,8 @@ This will push the icons to the stack "bladeicons", you should load this stack a ``` +Deferring icons is only possible using the `` component. This [feature doesn't work](https://github.com/blade-ui-kit/blade-icons/issues/194#issuecomment-1175156423) with the `@svg` Blade directive or the `svg()` helper function. + ##### Using deferred icons in JavaScript You can re-use your icons from blade in your JavaScript rendered views by providing a custom defer value that will be used as an identifier: