Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102909360
useThemeProps.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, Feb 25, 10:09
Size
367 B
Mime Type
text/x-java
Expires
Thu, Feb 27, 10:09 (2 d)
Engine
blob
Format
Raw Data
Handle
24454535
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
useThemeProps.js
View Options
import
getThemeProps
from
'./getThemeProps'
;
import
useTheme
from
'../useTheme'
;
export
default
function
useThemeProps
(
_ref
)
{
var
props
=
_ref
.
props
,
name
=
_ref
.
name
,
defaultTheme
=
_ref
.
defaultTheme
;
var
theme
=
useTheme
(
defaultTheme
);
var
mergedProps
=
getThemeProps
({
theme
:
theme
,
name
:
name
,
props
:
props
});
return
mergedProps
;
}
Event Timeline
Log In to Comment