"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = TextAlign;

var _react = _interopRequireDefault(require("react"));

var _debug = _interopRequireDefault(require("debug"));

var _icons = _interopRequireDefault(require("./icons"));

var log = (0, _debug["default"])('@pie-lib:editable-html:plugins:characters');
/**
 * Plugin in order to be able to change alignment for the selected text(s) element(s).
 * @param opts
 * @constructor
 */

function TextAlign(opts) {
  var plugin = {
    name: 'textAlign',
    toolbar: {
      icon: /*#__PURE__*/_react["default"].createElement(_icons["default"], opts),
      ariaLabel: 'Text Align',
      onClick: function onClick() {}
    }
  };
  return plugin;
}
//# sourceMappingURL=index.js.map