Skip to content

p333ter/reactimage2base64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

77f70db · Sep 23, 2019

History

7 Commits
Sep 20, 2019
Sep 23, 2019
Sep 23, 2019
Sep 20, 2019
Sep 20, 2019
Sep 20, 2019
Sep 20, 2019
Sep 23, 2019
Sep 20, 2019
Sep 23, 2019
Sep 20, 2019
Sep 20, 2019
Sep 20, 2019

Repository files navigation

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..

NPM JavaScript Style Guide

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published