UNPKG

@wordpress/block-editor

Version:
43 lines (42 loc) 841 B
// packages/block-editor/src/components/block-alignment-control/constants.js import { __, _x } from "@wordpress/i18n"; import { alignNone, positionCenter, positionLeft, positionRight, stretchFullWidth, stretchWide } from "@wordpress/icons"; var BLOCK_ALIGNMENTS_CONTROLS = { none: { icon: alignNone, title: _x("None", "Alignment option") }, left: { icon: positionLeft, title: __("Align left") }, center: { icon: positionCenter, title: __("Align center") }, right: { icon: positionRight, title: __("Align right") }, wide: { icon: stretchWide, title: __("Wide width") }, full: { icon: stretchFullWidth, title: __("Full width") } }; var DEFAULT_CONTROL = "none"; export { BLOCK_ALIGNMENTS_CONTROLS, DEFAULT_CONTROL }; //# sourceMappingURL=constants.js.map