Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102340795
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
Wed, Feb 19, 16:46
Size
714 B
Mime Type
text/x-java
Expires
Fri, Feb 21, 16:46 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24334461
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
ThemeProvider.d.ts
View Options
import { DefaultTheme } from '@mui/private-theming';
export interface ThemeProviderProps<Theme = DefaultTheme> {
/**
* Your component tree.
*/
children?: React.ReactNode;
/**
* A theme object. You can provide a function to extend the outer theme.
*/
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