Nitin Tulswani
Nitin Tulswani
Hey @imcvampire An alternate solution for this will be to use interpolations in this manner: ```js const StyledText = styled.Text` ${props => props.size ? `font-size: ${props.size}px` : ''}; ` ```...
Yes, that's what I was thinking. I'll give it a go 👍
Yup! This totally makes sense. I will look into this issue this week. Sorry, I've been busy lately with some other projects and didn't notice @trainbolt suggestion.
Can you tell me exactly what sort of error occurs due to `browser-image-resize` ?
Also, it would be nice if you could share an example of how you are using the **base64** images with `jimp`.
@alotov-agina I'd be open to a PR for this. I am busy with some other work. But I can help you with this work, * You can use [`probe-image-size`](https://www.npmjs.com/package/probe-image-size) instead...
> You can use probe-image-size instead of browser-image-size to support base64.
Sorry, I've been busy lately. So, the error is being caused by the dependency "browser-image-size". To make it work (base64), you need to replace that dependency with "prob-image-size". That's it!
hm.. can you tell me exactly from where you are loading the image ? This error is internally thrown by the `Jimp` (image processing library behind this component) from what...
Strange. I am trying to find some time to prepare for a new release so, stay tuned! I'll try to fix this (and also the other) issues. Thanks!