Private
Public Access
1
0
Files
power-apps-codeapps-blog-part2/node_modules/@fluentui/react-utilities/lib-commonjs/compose/getSlotClassNameProp.js

18 lines
538 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "getSlotClassNameProp", {
enumerable: true,
get: function() {
return getSlotClassNameProp;
}
});
const _constants = require("../compose/constants");
const getSlotClassNameProp = (slot)=>{
if (_constants.SLOT_CLASS_NAME_PROP_SYMBOL in slot && typeof slot[_constants.SLOT_CLASS_NAME_PROP_SYMBOL] === 'string') {
return slot[_constants.SLOT_CLASS_NAME_PROP_SYMBOL];
}
return undefined;
};