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

bump next to 13.5

This commit is contained in:
2023-10-02 11:59:15 -04:00
parent 1d8c2eab99
commit 893db7e951
24 changed files with 707 additions and 2528 deletions

View File

@@ -1,7 +1,7 @@
import innerText from "react-innertext";
import Image, { ImageProps } from "../Image";
import Image from "../Image";
import { styled, theme } from "../../lib/styles/stitches.config";
import type { PropsWithChildren } from "react";
import type { PropsWithChildren, ComponentPropsWithoutRef } from "react";
const Wrapper = styled("figure", {
margin: "1em auto",
@@ -15,7 +15,7 @@ const Caption = styled("figcaption", {
marginTop: "-0.4em",
});
export type FigureProps = Omit<ImageProps, "alt"> &
export type FigureProps = Omit<ComponentPropsWithoutRef<typeof Image>, "alt"> &
PropsWithChildren<{
alt?: string; // becomes optional -- pulled from plaintext-ified caption if missing
}>;