A react component to preview log based react-codemirror
npm install @sjognad/log --save
import { Log } from '@sjognad/log'
<Log
polling={5000}
request={async () => {
const { data } = await api();
return { data };
}}
/>
A react component to preview log based react-codemirror
npm install @sjognad/log --save
import { Log } from '@sjognad/log'
<Log
polling={5000}
request={async () => {
const { data } = await api();
return { data };
}}
/>