diff options
Diffstat (limited to 'src/components/TechIcon.astro')
| -rw-r--r-- | src/components/TechIcon.astro | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/TechIcon.astro b/src/components/TechIcon.astro new file mode 100644 index 0000000..8563cf4 --- /dev/null +++ b/src/components/TechIcon.astro @@ -0,0 +1,11 @@ +--- +interface Props { + name: string; +} + +const { name } = Astro.props; +--- + +<span class="tech-icon" data-tech={name}> + <slot /> +</span> |
