1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 05:41:17 -04:00

export prop types from component files

This commit is contained in:
2022-02-16 10:39:32 -05:00
parent 17104d765b
commit 3bc3e1b5a1
33 changed files with 35 additions and 35 deletions

View File

@@ -8,7 +8,7 @@ import type { NoteMetaType } from "../../types";
import styles from "./NoteMeta.module.css";
import Link from "next/link";
type NoteMetaProps = Pick<NoteMetaType, "slug" | "date" | "title" | "tags">;
export type NoteMetaProps = Pick<NoteMetaType, "slug" | "date" | "title" | "tags">;
const NoteMeta = ({ slug, date, title, tags = [] }: NoteMetaProps) => (
<div className={styles.meta}>