Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98235619
ThemeProvider.d.ts
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, Jan 11, 08:09
Size
580 B
Mime Type
text/x-java
Expires
Mon, Jan 13, 08:09 (2 d)
Engine
blob
Format
Raw Data
Handle
23521093
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
ThemeProvider.d.ts
View Options
import { DefaultTheme } from '@mui/system';
export interface ThemeProviderProps<Theme = DefaultTheme> {
children?: React.ReactNode;
theme: Partial<Theme> | ((outerTheme: Theme) => Theme);
}
/**
* This component makes the `theme` available down the React tree.
* It should preferably be used at **the root of your component tree**.
* API:
*
* - [ThemeProvider API](https://mui.com/material-ui/customization/theming/#themeprovider)
*/
export default function ThemeProvider<T = DefaultTheme>(
props: ThemeProviderProps<T>,
): React.ReactElement<ThemeProviderProps<T>>;
Event Timeline
Log In to Comment