Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120042115
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
Tue, Jul 1, 13:10
Size
365 B
Mime Type
text/x-java
Expires
Thu, Jul 3, 13:10 (1 d, 16 h)
Engine
blob
Format
Raw Data
Handle
27130265
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