Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styling not supported #35

Open
armanjaybayona opened this issue Jan 22, 2020 · 7 comments
Open

Styling not supported #35

armanjaybayona opened this issue Jan 22, 2020 · 7 comments
Labels
enhancement New feature or request

Comments

@armanjaybayona
Copy link

Sadly I can't alter the design to fit on my personal project.

@winhtaikaung winhtaikaung added the enhancement New feature or request label Jan 26, 2020
@winhtaikaung
Copy link
Owner

Hi @armanjaybayona thanks for your request, we have plan to support custom styling. Will keep you update when its ready

@Dot-H
Copy link
Collaborator

Dot-H commented Apr 12, 2020

Hi, any update on this ? This makes the use of this component pretty tough 😞

A simple solution would be to accept a className prop and merge it with the current one. What do you think ?

@dhruvbhatia7
Copy link

dhruvbhatia7 commented Oct 20, 2020

Any hacks here? I love this library but need custom styling 😞

@AndyYuanZhou
Copy link

Is it possible to make this information within the component accessible? If you publish it as a hook to give us the image url, description and title, we can style it however we want

@mohiyuddinshaikh
Copy link

Any update on this yet? Need an option to use custom styles instead of default card.

@juliettebeaudet
Copy link

Also interested in the update. To use custom style, I switched to the useScrapper hook but it triggers other problems.

@vekvoid
Copy link

vekvoid commented Aug 15, 2021

For now you can use the .react_tinylink_card class to set custom styles:

<style>{'.react_tinylink_card {background-color: red;}'}</style>
<ReactTinyLink url="https://google.com" />

Example: https://codesandbox.io/s/react-tiny-link-forked-l1lzj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants