Create playground for Icon component
This commit is contained in:
parent
f3479c9671
commit
80df0abae1
1 changed files with 9 additions and 0 deletions
9
src/pages/playground/icon.astro
Normal file
9
src/pages/playground/icon.astro
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
import Icon from '@/atoms/icon';
|
||||||
|
---
|
||||||
|
|
||||||
|
<div class="p-5">
|
||||||
|
<!-- Available icon names here: https://icon-sets.iconify.design -->
|
||||||
|
<!-- Colors for simple icons here: https://simpleicons.org -->
|
||||||
|
<Icon client:load name="simple-icons:react" size={24} color="#61DAFB" />
|
||||||
|
</div>
|
||||||
Loading…
Reference in a new issue