Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/native. An initiative which aims to make it easy to create complex, light-weight, and perfor okikio.github.io/native
Something went wrong. Try again.
12345678910111213141516171819202122---import { Icon as AstroIcon } from "astro-icon/components";import { playbackIcons, type PlaybackIconName } from "../lib/icons";
export interface Props { name: PlaybackIconName;}
const { name = "pause" } = Astro.props;const iconName = playbackIcons[name];---
<style> :global([data-icon]) { width: 24px; height: 24px; color: currentColor; }</style>
<AstroIcon class={`icon ${name}`} name={iconName} />