Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121810401
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
Mon, Jul 14, 02:02
Size
580 B
Mime Type
text/x-java
Expires
Wed, Jul 16, 02:02 (2 d)
Engine
blob
Format
Raw Data
Handle
27394822
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