Skip to content

[MUI v7] MixinsOptions not exported from @mui/material/styles #45713

Description

@mtr1990

Steps to reproduce

import type { MixinsOptions } from '@mui/material/styles';

Module '"@mui/material/styles"' has no exported member 'MixinsOptions'.

Current behavior

We used to import MixinsOptions using the following:

import type { MixinsOptions } from '@mui/material/styles/createMixins';

switching to the following says it is not exported

import type { MixinsOptions } from '@mui/material/styles';

Expected behavior

The following should work:

import type { MixinsOptions } from '@mui/material/styles';

Context

No response

Your environment

No response

Search keywords: MixinsOptions

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

scope: systemThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUItype: regressionA bug, but worse, it used to behave as expected.typescript

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions