ktongue's picture
download
raw
368 Bytes
/**
* 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;
}
export default resolveComponentProps;

Xet Storage Details

Size:
368 Bytes
·
Xet hash:
938c5a2f5feabdd92554af233397dfeef99e2f69b680ce6fc817fce525065ebd

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