UNPKG

@accordproject/markdown-editor

Version:

A rich text editor that can read and write markdown text. Based on Slate.js.

48 lines (33 loc) 2.28 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.icon = exports.vBox = exports.padding = exports.width = exports.height = exports.type = void 0; var _react = _interopRequireDefault(require("react")); const type = () => 'ul_list'; exports.type = type; const height = () => '25px'; exports.height = height; const width = () => '25px'; exports.width = width; const padding = () => '5px 4px'; exports.padding = padding; const vBox = () => '0 0 16 14'; exports.vBox = vBox; const icon = fillColor => _react.default.createElement("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd" }, _react.default.createElement("g", { transform: "translate(-582.000000, -48.000000)" }, _react.default.createElement("g", { transform: "translate(580.000000, 45.000000)" }, _react.default.createElement("g", null, _react.default.createElement("path", { d: "M3.33333333,8.75 C2.64166667,8.75 2.08333333,9.30833333 2.08333333,10 C2.08333333,10.6916667 2.64166667,11.25 3.33333333,11.25 C4.025,11.25 4.58333333,10.6916667 4.58333333,10 C4.58333333,9.30833333 4.025,8.75 3.33333333,8.75 L3.33333333,8.75 Z M3.33333333,3.75 C2.64166667,3.75 2.08333333,4.30833333 2.08333333,5 C2.08333333,5.69166667 2.64166667,6.25 3.33333333,6.25 C4.025,6.25 4.58333333,5.69166667 4.58333333,5 C4.58333333,4.30833333 4.025,3.75 3.33333333,3.75 L3.33333333,3.75 Z M3.33333333,13.8916667 C2.71666667,13.8916667 2.225,14.3916667 2.225,15 C2.225,15.6083333 2.725,16.1083333 3.33333333,16.1083333 C3.94166667,16.1083333 4.44166667,15.6083333 4.44166667,15 C4.44166667,14.3916667 3.95,13.8916667 3.33333333,13.8916667 L3.33333333,13.8916667 Z M5.83333333,15.8333333 L17.5,15.8333333 L17.5,14.1666667 L5.83333333,14.1666667 L5.83333333,15.8333333 L5.83333333,15.8333333 Z M5.83333333,10.8333333 L17.5,10.8333333 L17.5,9.16666667 L5.83333333,9.16666667 L5.83333333,10.8333333 L5.83333333,10.8333333 Z M5.83333333,4.16666667 L5.83333333,5.83333333 L17.5,5.83333333 L17.5,4.16666667 L5.83333333,4.16666667 L5.83333333,4.16666667 Z", fill: fillColor }), _react.default.createElement("polygon", { points: "0 0 20 0 20 20 0 20" }))))); exports.icon = icon;