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

adding more dumb easter eggs 🐣

This commit is contained in:
2022-05-06 22:49:46 -04:00
parent d67428b043
commit d8363d131a
18 changed files with 350 additions and 212 deletions

View File

@@ -1,5 +1,5 @@
import innerText from "react-innertext";
import Image, { CustomImageProps } from "../Image";
import Image, { ImageProps } from "../Image";
import { styled } from "../../lib/styles/stitches.config";
import type { PropsWithChildren } from "react";
@@ -20,7 +20,7 @@ const Caption = styled("figcaption", {
},
});
export type FigureProps = Omit<CustomImageProps, "alt"> &
export type FigureProps = Omit<ImageProps, "alt"> &
PropsWithChildren<{
alt?: string; // becomes optional -- pulled from plaintext-ified caption if missing
}>;