Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99848720
adaptV4Theme.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
Sun, Jan 26, 23:00
Size
1 KB
Mime Type
text/x-java
Expires
Tue, Jan 28, 23:00 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23818115
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
adaptV4Theme.d.ts
View Options
import { BreakpointsOptions, ShapeOptions, SpacingOptions } from '@mui/system';
import { MixinsOptions } from './createMixins';
import { Palette, PaletteOptions } from './createPalette';
import { TypographyOptions } from './createTypography';
import { Shadows } from './shadows';
import { TransitionsOptions } from './createTransitions';
import { ZIndexOptions } from './zIndex';
import { ComponentsOverrides } from './overrides';
import { ComponentsVariants } from './variants';
import { ComponentsProps } from './props';
import { Theme } from './createTheme';
export type Direction = 'ltr' | 'rtl';
export interface DeprecatedThemeOptions {
shape?: ShapeOptions;
breakpoints?: BreakpointsOptions;
direction?: Direction;
mixins?: MixinsOptions;
overrides?: ComponentsOverrides;
palette?: PaletteOptions;
props?: ComponentsProps;
shadows?: Shadows;
spacing?: SpacingOptions;
transitions?: TransitionsOptions;
typography?: TypographyOptions | ((palette: Palette) => TypographyOptions);
variants?: ComponentsVariants;
zIndex?: ZIndexOptions;
unstable_strictMode?: boolean;
}
/**
* Generate a theme base on the V4 theme options received.
* @deprecated Follow the upgrade guide on https://mui.com/r/migration-v4#theme
* @param options Takes an incomplete theme object and adds the missing parts.
* @returns A complete, ready-to-use theme object.
*/
export default function adaptV4Theme(options?: DeprecatedThemeOptions): Theme;
Event Timeline
Log In to Comment