1.0.3 • Published 3 years ago

wp-dimensions-control v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago