UNPKG

@workday/canvas-kit-react

Version:

The parent module that contains all Workday Canvas Kit React components

18 lines (17 loc) 979 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ToastCloseIcon = exports.toastCloseIconStencil = void 0; const jsx_runtime_1 = require("react/jsx-runtime"); const common_1 = require("@workday/canvas-kit-react/common"); const popup_1 = require("@workday/canvas-kit-react/popup"); const canvas_kit_styling_1 = require("@workday/canvas-kit-styling"); const layout_1 = require("@workday/canvas-kit-react/layout"); exports.toastCloseIconStencil = (0, canvas_kit_styling_1.createStencil)({ base: { name: "qqgbm", styles: "box-sizing:border-box;position:relative;" } }, "toast-close-icon-f7cf19"); exports.ToastCloseIcon = (0, common_1.createComponent)('button')({ displayName: 'Toast.CloseIcon', Component: (elemProps, ref, Element) => { return ((0, jsx_runtime_1.jsx)(popup_1.Popup.CloseIcon, { as: Element, ref: ref, size: "small", ...(0, layout_1.mergeStyles)(elemProps, (0, exports.toastCloseIconStencil)()) })); }, });