---
type Props = {
  width: string;
  height: string;
  viewBox: string;
  class?: string;
  fill?: string;
  children: any;
};

const { width, height, class: className, fill = "currentColor", viewBox } = Astro.props;
---

<svg style={{ width, height, fill }} class={className} viewBox={viewBox} aria-hidden="true">
  <slot />
</svg>
