wp-dimensions-control

1.0.3 • Public • Published

wp-dimensions-control

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save wp-dimensions-control

Usage

Works only as a WordPress gutenberg block controller

import React, { Component } from 'react'

import DimensionsControl from 'wp-dimensions-control'
import 'wp-dimensions-control/dist/index.css'

const App = () => {
  return (
    <DimenionsControl
      onChange={({ top, right, bottom, left }) =>
        console.log(top, right, bottom, left)
      }
    />
  )
}

License

MIT © tasnimAlam

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i wp-dimensions-control

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

28.1 kB

Total Files

7

Last publish

Collaborators

  • tasnim_alam