flow-inlinestyle

1.0.9 • Public • Published

flow-inlinestyle

To statically check your style objects

How to use ?

First: npm install --save-dev flow-inlinestyle

Add the type in your .flowconfig file :

[libs]
node_modules/flow-inlinestyle/index.js

Then, to use the type in your code:

const STYLE_FOO: InlineStyle = {
  marginRight: 10,
  display: 'inline-block',
};

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i flow-inlinestyle

      Weekly Downloads

      36

      Version

      1.0.9

      License

      MIT

      Unpacked Size

      10.8 kB

      Total Files

      4

      Last publish

      Collaborators

      • henrij
      • koolkt
      • lockeid