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

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

View File

@@ -1,7 +1,7 @@
import Selfie from "../Selfie";
import Menu from "../Menu";
import { styled, theme } from "../../lib/styles/stitches.config";
import type { ComponentProps } from "react";
import type { ComponentPropsWithoutRef } from "react";
const Wrapper = styled("header", {
width: "100%",
@@ -40,7 +40,7 @@ const ResponsiveMenu = styled(Menu, {
},
});
export type HeaderProps = ComponentProps<typeof Wrapper>;
export type HeaderProps = ComponentPropsWithoutRef<typeof Wrapper>;
const Header = ({ ...rest }: HeaderProps) => {
return (