Comments (1)
removing SxProps type from below lines and letting TS inferring return type seems to fix the issue
const openedMixin = (theme: Theme, mobile: boolean) => ({
const closedMixin = (theme: Theme) => ({
https://codesandbox.io/p/sandbox/fast-microservice-74x477?file=%2Fsrc%2FDrawer.tsx%3A20%2C33
from material-ui.
Related Issues (20)
- [material-ui][Select] aria-required on the Select component is not being read by screen readers HOT 5
- [material-ui] While migrating from v4, styles are getting precedence over v5 styles HOT 5
- [material-ui][Dialog] The dialog scrollbar is not displayed in Safari when opening dialog for the second time HOT 4
- [material-ui][TablePagination] Out of range error HOT 6
- [material-ui][Tabs] Error preventing the tab to get selected HOT 2
- [material-ui][docs] Expand the @mui/material-nextjs integration package doc HOT 7
- The Joy-ui Radio element is missing a corresponding 'radio' role HOT 2
- [material-ui][Autocomplete] `getOptionKey` Not Found In AutocompleteProps HOT 2
- [base-ui][material-ui] Uncontrolled RadioGroup component do not fully reset when inside a <form> with a reset button HOT 1
- [base-ui][material-ui] Uncontrolled Checkbox component do not fully reset when inside a <form> with a reset button HOT 1
- [material-ui] Uncontrolled Switch component do not fully reset when inside a <form> with a reset button HOT 1
- [base-ui][material-ui] Uncontrolled Select component do not fully reset when inside a <form> with a reset button HOT 5
- [material-ui][Tooltip] Showing and hiding docs seem outdated HOT 1
- `styled` component ignores type definitions when using `styled-engine-sc` HOT 4
- [material-ui][Text Field] Label gap is too big HOT 7
- [material-ui][Autocomplete] Options list scrolls to the top if more options are added after pulling the scroll handle to the bottom HOT 7
- [material-ui] Use direct import from utils package
- [base-ui][material-ui] Uncontrolled Autocomplete component do not fully reset when inside a <form> with a reset button HOT 1
- [material-ui] Uncontrolled TextField components fail to reset, and their floating labels don't return to default in a <form> with a reset button HOT 1
- [material-ui][Typography] Font size issue with the `h4` variant when using it with `responsiveFontSizes( )`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material-ui.