UNPKG

mui-tiptap

Version:

A Material-UI (MUI) styled WYSIWYG rich text editor, using Tiptap

16 lines (15 loc) 776 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const jsx_runtime_1 = require("react/jsx-runtime"); const material_1 = require("@mui/material"); /** * A horizontal bar that is used as a color indicator, matching position and * appearance of the bar in icons like FormatColorText, BorderColor, etc. from * @mui/icons-material. * * This allows for rendering the color indication separately from the other * portion of the icon (the text letter, highlighter, etc.) when used with icons * like FormatColorTextNoBar, FormatInkHighlighterNoBar, and BorderColorNoBar. */ const FormatColorBar = (0, material_1.createSvgIcon)((0, jsx_runtime_1.jsx)("path", { d: "M 2 20 h 20 v 4 H 2 v -4 z" }), "FormatColorBar"); exports.default = FormatColorBar;