@domlog/react-log
v0.0.14
Published
A tiny react component for logging!
Readme
@domlog/react-log
A tiny react component for logging!
Install
npm install @domlog/react-logImport
import Log from "@domlog/react-log";Usage
const data = {
name: 'Sun',
type: "star"
radius: 696340,
}
<Log data={...data} />Options
data: {
[key: string]: any;
};
open?: boolean;
type?: "raw" | "formatted";Test
npm testPack
npm packLinking locally, from project directory
npm link @domlog/react-log