mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-28 15:53:50 -05:00
next-mdx-remote -> mdx-bundler (#729)
This commit is contained in:
13
components/embeds/Tweet.tsx
Normal file
13
components/embeds/Tweet.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import TweetEmbed from "react-tweet-embed";
|
||||
|
||||
const Tweet = (props: { id: string }) => (
|
||||
<TweetEmbed
|
||||
id={props.id}
|
||||
options={{
|
||||
dnt: true,
|
||||
align: "center",
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
export default Tweet;
|
||||
Reference in New Issue
Block a user