The error has been once reported here but closed due to lack of the details. The information about muiName can be found here in the documentation but it seems not related to my issue which is caused by update. CSS You can override the style of the component using one of these customization options: With a global class name. The ref is forwarded to the root element. Props Props of the native component are also available. I've changed imports, run npm install, removed node_modules even package-lock.json but I still receive the vague error message TypeError: Cannot read property 'muiName' of undefined. The name MuiSvgIcon can be used when providing default props or style overrides in the theme. IconMenu - This component replaces DropDownIcon and has all of the new. Each top-level menu in the menu bar, known as a menu bar item, is represented by a MenuBarItem object. for dev (4201) - Icon Builder Add muiName to generated SvgIcons (4188. You may, however, need to wrap a component in order to enhance it, which can conflict with the muiName solution. To solve this problem, we tag some of the components with a muiName static property when needed. A tip of the hat to Joseph Spens' answer, since his solution provided the clues to identify my own problem. Logged.muiName 'IconMenu' O que muiName e quando / por que tenho que configur-lo Deve sempre ser definido para o nome do componente de nvel superior no render() mtodo Na mesma pgina, h exemplos para AppBar Onde muiName no est definido. To provide maximum flexibility and performance, MUI needs a way to know the nature of the child elements a component receives. I updated "material-ui": "^1.0.0-beta.38" to "^1.3.0". design styles for web or mobile (iOS and Android) design, marketing, or developer projects. NET Multi-platform App UI (.NET MAUI) menu bar is a container that presents a set of menus in a horizontal row, at the top of an app on Mac Catalyst and Windows. My problem - and perhaps yours - is somewhat different from the above question, but the root cause is the same: MaterialUI import syntax.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |