mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 11:18:30 -04:00
18 lines
237 B
TypeScript
18 lines
237 B
TypeScript
import Tweet from "react-tweet-embed";
|
|
|
|
type Props = {
|
|
id: string;
|
|
};
|
|
|
|
const TweetEmbed = (props: Props) => (
|
|
<Tweet
|
|
id={props.id}
|
|
options={{
|
|
dnt: true,
|
|
align: "center",
|
|
}}
|
|
/>
|
|
);
|
|
|
|
export default TweetEmbed;
|