UNPKG

@workday/canvas-kit-react

Version:

The parent module that contains all Workday Canvas Kit React components

17 lines (16 loc) 961 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ToastBody = exports.toastBodyStencil = void 0; const jsx_runtime_1 = require("react/jsx-runtime"); const common_1 = require("@workday/canvas-kit-react/common"); const layout_1 = require("@workday/canvas-kit-react/layout"); const canvas_kit_styling_1 = require("@workday/canvas-kit-styling"); exports.toastBodyStencil = (0, canvas_kit_styling_1.createStencil)({ base: { name: "1fqoyq", styles: "box-sizing:border-box;align-items:flex-start;flex-direction:column;justify-content:center;flex-grow:1;gap:0;" } }, "toast-body-36e90e"); exports.ToastBody = (0, common_1.createComponent)('div')({ displayName: 'Toast.Body', Component: ({ children, ...elemProps }, ref, Element) => { return ((0, jsx_runtime_1.jsx)(layout_1.Flex, { ref: ref, as: Element, ...(0, layout_1.mergeStyles)(elemProps, (0, exports.toastBodyStencil)()), children: children })); }, });