Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102586545
getThemeProps.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Feb 22, 06:39
Size
365 B
Mime Type
text/x-java
Expires
Mon, Feb 24, 06:39 (2 d)
Engine
blob
Format
Raw Data
Handle
24365631
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
getThemeProps.js
View Options
import { internal_resolveProps as resolveProps } from '@mui/utils';
export default function getThemeProps(params) {
const {
theme,
name,
props
} = params;
if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) {
return props;
}
return resolveProps(theme.components[name].defaultProps, props);
}
Event Timeline
Log In to Comment