reactimage2base64
v1.0.11
Published
React component to generate an image to base64. You can make this using a path or URL.
Downloads
15
Maintainers
Readme
reactimage2base64
React component to generate an image source to base64. You can make this using a path or URL. You could use all the image attributes and base events like a onclick, onmouseover etc..
Install
npm install --save reactimage2base64
Usage
import * as React from 'react'
import Image from 'reactimage2base64'
class Example extends React.Component {
render () {
return (
<Image src="..." />
)
}
}
Result
License
MIT © p333ter
e8739c115366c12a48098d554ea4e93512bd0ed1