1.0.1 • Published 4 years ago

react-oiiijs v1.0.1

Weekly downloads
-
License
-
Repository
github
Last release
4 years ago

Oiii.JS - React Edition


or just OpenImage JS for React

An original repo here: Oiii! JS

Usage in React

Installation:

npm i react-oiiijs

Import:

import {Image} from 'react-oiiijs'

Usage:

function SomeFunction() {
    return (
        <Image>
            <img src="url_to_image" alt="description_here"/>
        </Image>
    )
}

Also

This version has have some difference with the original Oiii

  • no YouTube support
  • no "open image" button

It will be fixed in future versions, so just wait.

And I can't guarantee you that nothing will be changed or ruined (as for compatibility), so after any update please read this doc.