Skip to content

Commit

Permalink
Update astro-icon component imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Ticolyle committed Jan 10, 2024
1 parent b9ee376 commit 3e6a874
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Feature.astro
@@ -1,5 +1,5 @@
---
import { Icon } from 'astro-icon'
import { Icon } from 'astro-icon/components'
const { icon = 'mdi:rocket', title = 'Title' } = Astro.props
---
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.astro
@@ -1,7 +1,7 @@
---
import Navigation from '../components/Navigation.astro'
import { SkipLinks } from 'accessible-astro-components'
import { Icon } from 'astro-icon'
import { Icon } from 'astro-icon/components'
---

<header>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Hero.astro
@@ -1,5 +1,5 @@
---
import { Icon } from 'astro-icon'
import { Icon } from 'astro-icon/components'
const { src = '/astronaut-hero-img.webp' } = Astro.props
---
Expand Down
2 changes: 1 addition & 1 deletion src/pages/accessible-components.astro
@@ -1,6 +1,6 @@
---
import DefaultLayout from '../layouts/DefaultLayout.astro'
import { Icon } from 'astro-icon'
import { Icon } from 'astro-icon/components'
import {
Accordion,
AccordionItem,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/mdx-page.mdx
Expand Up @@ -3,7 +3,7 @@ layout: ../layouts/MarkdownLayout.astro
title: MDX Page
---

import { Icon } from 'astro-icon'
import { Icon } from 'astro-icon/components'
import { Notification } from 'accessible-astro-components'

# MDX Page
Expand Down

0 comments on commit 3e6a874

Please sign in to comment.