Skip to content

Commit 5c3b808

Browse files
authored
fix: import of button (#978)
1 parent 7b9484c commit 5c3b808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/blog/astro-430.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ This type export allows you to reference the `Props` accepted by another compone
100100
```astro
101101
---
102102
import type { ComponentProps } from 'astro/types';
103-
import { Button } from "./Button.astro";
103+
import Button from "./Button.astro";
104104
105105
type MyButtonProps = ComponentProps<typeof Button>;
106106
---

0 commit comments

Comments
 (0)