Remove prop types because I am not fancy
This commit is contained in:
@@ -1,12 +1,6 @@
|
|||||||
---
|
---
|
||||||
import "../style/global.css";
|
import "../style/global.css";
|
||||||
|
|
||||||
export interface Props {
|
|
||||||
title: string;
|
|
||||||
description: string;
|
|
||||||
image?: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
const { title, description, image = "/placeholder-social.jpg" } = Astro.props;
|
const { title, description, image = "/placeholder-social.jpg" } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user