mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-07-20 18:26:01 -04:00
react-twitter-embed ➡️ react-tweet
This commit is contained in:
@@ -2,7 +2,7 @@ import Link from "../Link";
|
||||
import Image from "../Image";
|
||||
import { styled, theme } from "../../lib/styles/stitches.config";
|
||||
import { authorName } from "../../lib/config";
|
||||
import type { ComponentProps } from "react";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
import selfieJpg from "../../public/static/images/selfie.jpg";
|
||||
|
||||
@@ -47,7 +47,7 @@ const Name = styled("span", {
|
||||
},
|
||||
});
|
||||
|
||||
export type SelfieProps = Omit<ComponentProps<typeof Link>, "href">;
|
||||
export type SelfieProps = Omit<ComponentPropsWithoutRef<typeof Link>, "href">;
|
||||
|
||||
const Selfie = ({ ...rest }: SelfieProps) => {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user