20 lines
611 B
JavaScript
20 lines
611 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
Object.defineProperty(exports, "createCompatSlotComponent", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return createCompatSlotComponent;
|
|
}
|
|
});
|
|
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
const _reactutilities = require("@fluentui/react-utilities");
|
|
function createCompatSlotComponent(type, props) {
|
|
return {
|
|
...props,
|
|
[_reactutilities.SLOT_ELEMENT_TYPE_SYMBOL]: type
|
|
};
|
|
}
|