Hello, I noticed that the following TwitterTweetEmbedProps forces you to include the tweetId which is not necessary when using a url property.
This is purely a TypeScript issue, but I think you should extend the TwitterTweetEmbedProps so that tweetId is not mandatory.
Example:
<XEmbed
url={url}
twitterTweetEmbedProps={{
tweetId: undefined, // just for the example
options: {
conversation: 'none',
},
}}
/>
twitterTweetEmbedProps?: TwitterTweetEmbedProps;
Hello, I noticed that the following
TwitterTweetEmbedProps
forces you to include thetweetId
which is not necessary when using aurl
property. This is purely a TypeScript issue, but I think you should extend theTwitterTweetEmbedProps
so thattweetId
is not mandatory.Example: