New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

typographist-react-devtools

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typographist-react-devtools

Typographist react devtools is part of the [Typographist](https://github.com/typography-gang/typographist) ecosystem. It is necessary to develop and debug web apps on react vue with the help of vertical rhythm.

latest
Source
npmnpm
Version
3.0.12
Version published
Maintainers
1
Created
Source

Typographist react devtools

Typographist react devtools is part of the Typographist ecosystem. It is necessary to develop and debug web apps on react vue with the help of vertical rhythm.

Installation

User yarn or npm

yarn add typographist-react-devtools
npm i typographist-static-devtools

Connect Typographist-react-devtools

Js

requireJs

const Typographist = require('typographist-react-devtools');

es6 modules

import Typographist from 'typographist-react-devtools';

How to use?

import React, {Fragment} from 'react';
import { render } from 'react-dom';
import Typographist from 'typographist-react-devtools';
import 'typographist-react-devtools/devtools.css';

const App = () => (
  <Fragment>
    <Typographist>
      <Typographist.Switch />
      <Typographist.Debugger>{/* your components */}</Typographist.Debugger>
    </Typographist>
  </Fragment>
);

render(<App />, document.querySelector('#root'));

<Typographist.Switch />

Change zIndex

const App = () => (
  <Fragment>
    <Typographist>
      <Typographist.Switch zIndex={3000} />
      <Typographist.Debugger>{/* your components */}</Typographist.Debugger>
    </Typographist>
  </Fragment>
);

Without <Typographist.Switch />

const App = () => (
  <Fragment>
    <Typographist>
      <Typographist.Debugger>{/* your components */}</Typographist.Debugger>
    </Typographist>
  </Fragment>
);

Fluid rhythm

/* If your use */
:root {
  @root (fluid);
}

Switch the rhythm to fluid.

const App = () => (
  <Fragment>
    <Typographist root="fluid">
      <Typographist.Debugger>{/* your components */}</Typographist.Debugger>
    </Typographist>
  </Fragment>
);

Keyboard shortcuts

If you do not feel comfortable switching the rhythm step by step by pressing the button, you can use keyboard shortcuts

commandkeys
show single rhythms + r
show double rhythmd + r
hide rhythmo + r

FAQs

Package last updated on 02 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts