visual-box
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

Visual Box

Provides visual rendering status of components.



Purpose

Components wrapped in visual-box change color when rendering occurs.
When you wrap a child component, you know if the child component is rendered simultaneously when rendering occurs in the parent component.

Installation

Visual Box is available as a package on NPM & YARN.

# NPM
npm install --save-dev visual-box

# Yarn
yarn add --dev visual-box

Examples

import * as React from 'react';
import Box from 'visual-box';

function Button({ children }) {
  return <button>{children}</button>;
}

export default Box(Button);
// → export default Button;

ezgif com-gif-maker

LICENSE

MIT

Dependencies (0)

    Dev Dependencies (20)

    Package Sidebar

    Install

    npm i visual-box

    Weekly Downloads

    8

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    10.3 kB

    Total Files

    19

    Last publish

    Collaborators

    • henry_9