Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101048875
useTheme.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
Wed, Feb 5, 05:06
Size
373 B
Mime Type
text/x-java
Expires
Fri, Feb 7, 05:06 (2 d)
Engine
blob
Format
Raw Data
Handle
24066053
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
useTheme.js
View Options
import * as React from 'react';
import { useTheme as useThemeSystem } from '@mui/system';
import defaultTheme from './defaultTheme';
export default function useTheme() {
var theme = useThemeSystem(defaultTheme);
if (process.env.NODE_ENV !== 'production') {
// eslint-disable-next-line react-hooks/rules-of-hooks
React.useDebugValue(theme);
}
return theme;
}
Event Timeline
Log In to Comment