Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 781 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 781 Bytes

react-log-output

React component for displaying log output

NPM JavaScript Style Guide

Install

npm install --save react-log-output

Playground

https://noobling.github.io/log-output-viewer/

Usage

import React from 'react'

import { LogViewer } from 'react-log-output'

export default function MyAppLogViewer() {
  const myLogOutput = '...'
  <LogViewer text={myLogOutput} />
}

Api

Using typescript so you should be able to get intellisense to tell you the api. Otherwise just read the source

License

MIT ©