0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

added prop type definition for FormattedDate in Blog example (#6591)

This commit is contained in:
Matthew Mercuri 2023-03-20 07:49:38 -04:00 committed by GitHub
parent da0cfebe64
commit c341bd07ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,8 @@
---
export interface Props {
date: Date;
}
const { date } = Astro.props;
---