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