Skip to content

mcapkovic/react-display-state

Repository files navigation

react-display-state

display react state and rerender count on a page

NPM JavaScript Style Guide

display-state light

Install

npm install --save react-display-state

Usage

import React, { Component } from 'react'

import { DisplayState } from "react-display-state";

function Example(){
  return(
     <DisplayState
        title="Title"
        state={{ a: "1", b: "2" }} // replace with a react state
        expanded // optional
        renderCount // optional
        theme='light' // optional 'light' or 'dark'
      />
  )
}

License

MIT © mcapkovic

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published