react-tiny-link
react-tiny-link copied to clipboard
Styling not supported
Sadly I can't alter the design to fit on my personal project.
Hi @armanjaybayona thanks for your request, we have plan to support custom styling. Will keep you update when its ready
Hi, any update on this ? This makes the use of this component pretty tough :disappointed:
A simple solution would be to accept a className
prop and merge it with the current one. What do you think ?
Any hacks here? I love this library but need custom styling 😞
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
Any update on this yet? Need an option to use custom styles instead of default card.
Also interested in the update. To use custom style, I switched to the useScrapper hook but it triggers other problems.
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