UNPKG

console-feed

Version:

A React component that displays console logs from the current page, an iframe or transported across a server

18 lines (17 loc) 408 B
interface Storage { tagName: string; attributes: { [attribute: string]: string; }; innerHTML: string; } /** * Serialize a HTML element into JSON */ declare const _default: { type: string; shouldTransform(type: any, obj: any): boolean; toSerializable(element: HTMLElement): Storage; fromSerializable(data: Storage): HTMLElement | Storage; }; export default _default;