react-twitter-embed ➡️ react-tweet

This commit is contained in:
2023-09-08 11:47:38 -04:00
parent 61660d9d56
commit 1d8c2eab99
25 changed files with 789 additions and 719 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import Link from "../Link";
import { HeartIcon, NextjsLogo } from "../Icons";
import { styled, theme, keyframes } from "../../lib/styles/stitches.config";
import * as config from "../../lib/config";
import type { ComponentProps } from "react";
import type { ComponentPropsWithoutRef } from "react";
const Wrapper = styled("footer", {
width: "100%",
@@ -78,7 +78,7 @@ const Heart = styled("span", {
},
});
export type FooterProps = ComponentProps<typeof Wrapper>;
export type FooterProps = ComponentPropsWithoutRef<typeof Wrapper>;
const Footer = ({ ...rest }: FooterProps) => {
return (