UNPKG

@workday/canvas-kit-preview-react

Version:

Canvas Kit Preview is made up of components that have the full design and a11y review, are part of the DS ecosystem and are approved for use in product. The API's could be subject to change, but not without strong communication and migration strategies.

16 lines (15 loc) 721 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.StatusIndicatorIcon = void 0; const react_1 = __importDefault(require("react")); const common_1 = require("@workday/canvas-kit-react/common"); const icon_1 = require("@workday/canvas-kit-react/icon"); exports.StatusIndicatorIcon = (0, common_1.createComponent)('span')({ displayName: 'StatusIndicatorIcon', Component: (elemProps, ref, Element) => { return react_1.default.createElement(icon_1.SystemIcon, { as: Element, ref: ref, size: 20, role: "img", ...elemProps }); }, });