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:
@@ -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 (
|
||||
|
Reference in New Issue
Block a user