react-tweet

Embed tweets in your React application.

MIT License

Stars
1.6K
Committers
19

Bot releases are hidden (Show)

react-tweet - [email protected] Latest Release

Published by lfades 6 months ago

react-tweet - [email protected]

Published by lfades 10 months ago

react-tweet should better private tweets now:

  • When a private tweet is found using getTweet it will log to console and return `undefined``.
  • fetchTweet was added and it returns the tweet alongside some metadata of the tweet that can be used for caching tweets.
react-tweet - [email protected]

Published by lfades about 1 year ago

react-tweet - [email protected]

Published by lfades about 1 year ago

react-tweet - [email protected]

Published by lfades about 1 year ago

react-tweet - [email protected]

Published by lfades over 1 year ago

react-tweet - [email protected]

Published by lfades over 1 year ago

Updated Twitter theme styles to better handle external CSS

react-tweet - [email protected]

Published by lfades over 1 year ago

Allow fetch options to be customized

react-tweet - [email protected]

Published by lfades over 1 year ago

Theme support

react-tweet - [email protected]

Published by lfades over 1 year ago

Check for default export in swr import

react-tweet - [email protected]

Published by lfades over 1 year ago

  • Use text-overflow: ellipsis to truncate the user name when the width is small
  • Updated components type for EmbeddedTweet to exclude not found.
  • Added docs for CSS imports fix when importing the components in Next.js pages.
  • Use custom MediaImg component if provided.
react-tweet - [email protected]

Published by lfades over 1 year ago

  • Renamed next-tweet to react-tweet.
  • The whole API has changed to be more flexible and work outside of Next.js.
react-tweet - [email protected]

Published by lfades over 1 year ago

Fix default theme not loading styles

react-tweet - [email protected]

Published by lfades over 1 year ago

  • Improved accessibility
  • added support for symbols
  • Properly decode ascii in the tweet text
  • Improved theming.

Thank you to all the people that have contributed so far! 🙌 @tywayne @joulev 🙌

react-tweet - [email protected]

Published by lfades over 1 year ago

Fixed style issues with the skeleton component.

react-tweet - [email protected]

Published by lfades over 1 year ago

Updated docs and removed usage of React.FC

react-tweet - [email protected]

Published by lfades over 1 year ago

Added video support and theme switching with class

react-tweet - [email protected]

Published by lfades over 1 year ago

Now the tweet can select the theme using prefers-color-scheme.

react-tweet - [email protected]

Published by lfades over 1 year ago

Added docs and improved theming.

react-tweet - [email protected]

Published by lfades over 1 year ago

Increased minimum Next.js version to 13.2.1 and improved types.