From 6989cd81f1b8030c5f5a52063de58f037e7653de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20FINDIKLI?= Date: Thu, 23 Dec 2021 14:14:39 +0300 Subject: [PATCH] Refactor --- src/app/demo/view/iconsdemo.component.html | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/app/demo/view/iconsdemo.component.html b/src/app/demo/view/iconsdemo.component.html index 9f1ddcb..26514af 100644 --- a/src/app/demo/view/iconsdemo.component.html +++ b/src/app/demo/view/iconsdemo.component.html @@ -3,7 +3,8 @@
Download
-npm install primeicons --save +npm install primeicons --save +
Getting Started

PrimeIcons use the pi pi-{icon} syntax such as pi pi-check. @@ -11,7 +12,8 @@ npm install primeicons --save <i class="pi pi-check"></i> -<i class="pi pi-times"></i> +<i class="pi pi-times"></i> + @@ -20,12 +22,14 @@ npm install primeicons --save

Size of the icons can easily be changed using font-size property.

-<i class="pi pi-check"></i> +<i class="pi pi-check"></i> + -<i class="pi pi-check" style="font-size: 2rem"></i> +<i class="pi pi-check" style="font-size: 2rem"></i> + @@ -33,7 +37,8 @@ npm install primeicons --save

Special pi-spin class applies infinite rotate to an icon.

-<i class="pi pi-spin pi-spinner" style="font-size: 2rem"></i> +<i class="pi pi-spin pi-spinner" style="font-size: 2rem"></i> +