@obl/react-eos-md
v0.0.1
Published
React components for EOS
Downloads
3
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