Code Monkey home page Code Monkey logo

react-tweet-card's People

Contributors

tahafatih avatar zorapeteri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-tweet-card's Issues

Support for Media

Hi @zorapeteri,

First of all, thank you very much for this package. Is it possible to add media to tweets like in the example below?

Tweet by Tim Cook

Tweet by SpaceX

Support for mentions and hashtags in tweets

Hi, @zorapeteri,

Thanks for developing this npm package. It's super easy to use and exactly what I was looking for. I must also add that this is probably the most comprehensive and intentional documentation sites I've seen in a long time, so great work on that!

While integrating this, I noticed that the Tweet card doesn't automatically highlight @mentions and #hashtags like a real tweet would, as pictured below. Do I need to enable this using any particular configuration?

image

Thanks!

Tweet header is clickable when clickableProfileLink is set to false

Hi, again,

I noticed that when setting clickableProfileLink to false (or leaving it out as the default), the profile image, name, username and Twitter logo still remains clickable, as pictured below. When I click on it, it just opens the same site in another tab. This can be tested here.

image

I believe it's because even after setting it to false, the elements are still wrapped in the a tag, only without any href.

image

Thanks!

Component Not Rendering Properly

Hey,

I am trying to use the library for the first time. Testing it with the first example on the docs, the component is not responsive and doesn't grow if the tweet is too long.

Screen Shot 2022-12-24 at 11 26 29 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.