You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Team,
I am currently using latest material-ui beta 44 version and by doing below i am getting some error?
can you help me to explain why it is thrwing this error specially for position: 'relative'
by this because of position: relateive mentioned, withStyles(styles) is showing error as
Argument of type '(theme: Theme) => { root: {}; drawerPaper: { width: strin...' is not assignable to parameter of type
'Record<"root" | "expansionPanel" | "drawerPaper", CSSProperties> | StyleRulesCallback<"root
The text was updated successfully, but these errors were encountered:
Hello Team,
I am currently using latest material-ui beta 44 version and by doing below i am getting some error?
can you help me to explain why it is thrwing this error specially for position: 'relative'
export const styles = {
drawerPaper: {
position: 'relative'
},
};
export default withStyles(styles)(Sidebar);
by this because of position: relateive mentioned, withStyles(styles) is showing error as
Argument of type '(theme: Theme) => { root: {}; drawerPaper: { width: strin...' is not assignable to parameter of type
'Record<"root" | "expansionPanel" | "drawerPaper", CSSProperties> | StyleRulesCallback<"root
The text was updated successfully, but these errors were encountered: