download
raw
492 Bytes
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
/**
* If `componentProps` is a function, calls it with the provided `ownerState`.
* Otherwise, just returns `componentProps`.
*/
function resolveComponentProps(componentProps, ownerState, slotState) {
if (typeof componentProps === 'function') {
return componentProps(ownerState, slotState);
}
return componentProps;
}
var _default = exports.default = resolveComponentProps;

Xet Storage Details

Size:
492 Bytes
·
Xet hash:
28d7d6ebf8a8bfdc4c1222c8e491408749143ded0e6a23ff2055e6acda7c590e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.