@obsk/react-eos-md

React components for EOS

Stats

StarsIssuesVersionUpdatedCreatedSize
@obsk/react-eos-md
0.2.83 years ago3 years agoMinified + gzip package size for @obsk/react-eos-md in KB

Readme

react-eos-md

Install pacakge

Install @obsk/react-eos-md

npm install --save @obsk/react-eos-md

or

yarn add @obsk/react-eos-md

You will also need react-eos package

Example component can be added to the app like this

import React, { Component, Fragment } from 'react';
import { browserWithData } from '@obsk/react-eos';
import { EosBrowserMd } from '@obsk/react-eos-md';

const EosBrowserComponent = browserWithData(EosBrowserMd, file => handleFileClick(file));

const handleFileClick = file => {
  console.log(`Handling file with path ${file.path}`);
}

class App extends Component {

  render() {
    return (
      <Fragment>
        <EosBrowserComponent />
      </Fragment>
    );
  }
};

export default App;

Note

Project was generated via https://github.com/UdiliaInc/create-react-library

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.