mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 07:01:19 -04:00
react-twitter-embed
➡️ react-tweet
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Link from "../Link";
|
||||
import { LinkIcon } from "../Icons";
|
||||
import { styled } from "../../lib/styles/stitches.config";
|
||||
import type { ComponentProps } from "react";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
const AnchorLink = styled(Link, {
|
||||
lineHeight: 1,
|
||||
@@ -12,7 +12,7 @@ const Icon = styled(LinkIcon, {
|
||||
height: "0.8em",
|
||||
});
|
||||
|
||||
export type HeadingAnchorProps = Omit<ComponentProps<typeof AnchorLink>, "href"> & {
|
||||
export type HeadingAnchorProps = Omit<ComponentPropsWithoutRef<typeof AnchorLink>, "href"> & {
|
||||
id: string;
|
||||
title: string;
|
||||
};
|
||||
|
Reference in New Issue
Block a user