From 20ccec0f2e6c905621214d6798dfafbfb22e4db0 Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Fri, 1 May 2020 09:52:03 +0300 Subject: [PATCH] Improve Svelte component readme --- packages/svelte/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/svelte/README.md b/packages/svelte/README.md index c07beba..ef5ae6a 100644 --- a/packages/svelte/README.md +++ b/packages/svelte/README.md @@ -356,11 +356,11 @@ Example: ``` -This example adds icon stored in `postIcon` to every list item. If it was rendered on the server, HTML would send SVG element multiple times. But because it is rendered in browser, icon data and component needs to be sent to browser only once. +This example adds an icon stored in `postIcon` to every list item. If it was rendered on the server, HTML would send SVG element multiple times. But because it is rendered in the browser, icon data and component needs to be sent to the browser only once. Instead of using ``, you must use `` to make sure component is rendered dynamically. -This example is based on Iconify Sapper demo: https://github.com/iconify/iconify/blob/master/packages/sapper-demo/src/routes/blog/index.svelte +This example is based on the Iconify Sapper demo: https://github.com/iconify/iconify/blob/master/packages/sapper-demo/src/routes/blog/index.svelte ## Icon Sets @@ -489,7 +489,7 @@ There are over 60 icon sets. This readme shows only a few examples. See [Iconify ## License -Svelte component is released with MIT license. +The Svelte component is released with MIT license. © 2020 Vjacheslav Trushkin