Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99753557
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
Sun, Jan 26, 11:34
Size
365 B
Mime Type
text/x-java
Expires
Tue, Jan 28, 11:34 (2 d)
Engine
blob
Format
Raw Data
Handle
23819048
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