Page MenuHomec4science

isMuiElement.js
No OneTemporary

File Metadata

Created
Sun, Jan 26, 07:48

isMuiElement.js

import * as React from 'react';
export default function isMuiElement(element, muiNames) {
return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf(element.type.muiName) !== -1;
}

Event Timeline