UNPKG

@yandex/ui

Version:

Yandex UI components

13 lines (12 loc) 604 B
import React from 'react'; import { Text } from '@yandex-lego/components/Text/bundle'; export var ControlColor = function () { return (React.createElement(React.Fragment, null, [ 'control-primary', 'control-secondary', 'control-passive', 'control-ghost', 'control-faint', 'control-disable', 'control-link', 'control-error', ].map(function (color) { return (React.createElement(Text, { as: "div", key: color, typography: "control-xl", weight: "light", color: color, style: { backgroundColor: color === 'control-faint' ? '#000' : undefined } }, color + " color")); }))); };