UNPKG

@yandex/ui

Version:

Yandex UI components

21 lines (20 loc) 673 B
import React from 'react'; import { Icon } from '@yandex-lego/components/Icon/bundle'; var glyphs = [ 'carets-v', 'type-arrow', 'type-check', 'type-close', 'type-cross', 'type-cross-websearch', 'type-filter', 'type-indeterminate', 'type-tick', 'x-sign', ]; export var Glyph = function () { return (React.createElement("table", { cellSpacing: 5 }, glyphs.map(function (glyph) { return (React.createElement("tr", { key: glyph }, React.createElement("td", null, React.createElement(Icon, { glyph: glyph, style: { width: 16, height: 16 } })), React.createElement("td", null, "_glyph_", glyph))); }))); };