@chief-editor/brick-control
Version:
Control Brick for chief editor
1 lines • 522 B
JavaScript
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)};import React from"react";import{Divider}from"@chief-editor/ui";export function DividerBrick(t){var e=t.styles,r=t.layout,i=t.dispatchEvent,a=t.creator;return React.createElement("div",{"data-id":a,style:__assign(__assign({},e),r),onClick:i},React.createElement(Divider,null))}