Skip to content

Commit

Permalink
docs: fix invalid import in ComponentProps example (#2751)
Browse files Browse the repository at this point in the history
  • Loading branch information
HiDeoo authored Jan 6, 2025
1 parent 2bdb6c2 commit 5b7f611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/content/docs/components/using-components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The following example uses `ComponentProps` to get the type of the props accepte
---
// src/components/Example.astro
import type { ComponentProps } from 'astro/types';
import { Icon } from '@astrojs/starlight/icon';
import { Icon } from '@astrojs/starlight/components';
type IconProps = ComponentProps<typeof Icon>;
---
Expand Down

0 comments on commit 5b7f611

Please sign in to comment.