other = _objectWithoutPropertiesLoose(props, _excluded);
const contextValue = React.useMemo(() => ({
rowHeight,
gap,
variant
}), [rowHeight, gap, variant]);
React.useEffect(() => {
if (process.env.NODE_ENV !== 'production') {
// Detect Internet Explorer 8+
if (document !== undefined && 'objectFit' in document.documentElement.style === false) {
console.error(['MUI: ImageList v5+ no longer natively supports Internet Explorer.', 'Use v4 of this component instead, or polyfill CSS object-fit.'].join('\n'));